mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-10-29 22:45:34 +01:00
fix builtins test vertex shader
This commit is contained in:
parent
4029dcd50c
commit
0408f771b7
@ -43,7 +43,7 @@ void main() {
|
|||||||
)");
|
)");
|
||||||
|
|
||||||
auto sb = MM::OpenGL::ShaderBuilder::start();
|
auto sb = MM::OpenGL::ShaderBuilder::start();
|
||||||
sb.addStageVertex("void main() {}");
|
sb.addStageVertex("void main() { gl_Position = vec4(0.0); }");
|
||||||
sb.addStageFragmentF(engine, "/shaders/test_frag.glsl");
|
sb.addStageFragmentF(engine, "/shaders/test_frag.glsl");
|
||||||
auto shader = sb.finish();
|
auto shader = sb.finish();
|
||||||
ASSERT_TRUE(shader);
|
ASSERT_TRUE(shader);
|
||||||
|
Loading…
Reference in New Issue
Block a user