Changed the #extension enable
This commit is contained in:
parent
24d61c2df0
commit
bf208e1d10
@ -59,8 +59,7 @@ createStateSet()
|
||||
// render each instance uniquely. gl_InstanceID will be in the range
|
||||
// 0 to numInstances-1 (1023 in our case).
|
||||
std::string vertexSource =
|
||||
"#version 120\n"
|
||||
"#extension GL_ARB_draw_instanced : enable\n"
|
||||
"#extension GL_EXT_gpu_shader4 : enable\n"
|
||||
"uniform sampler2D osgLogo; \n"
|
||||
"uniform float osg_SimulationTime; \n"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user