mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 13:29:18 +02:00
9 lines
240 B
C++
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"));
|
|
}
|