16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 13:29:18 +02:00
Files
maszyna/gl/shader_mvp.cpp
2018-06-26 01:05:46 +02:00

9 lines
240 B
C++

#include "stdafx.h"
#include "shader_mvp.h"
void gl::program_mvp::init()
{
glUniformBlockBinding(*this, 0, glGetUniformBlockIndex(*this, "scene_ubo"));
glUniformBlockBinding(*this, 1, glGetUniformBlockIndex(*this, "model_ubo"));
}