Fixed warning
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14670 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
d5f2c34f24
commit
4a668d53c5
@ -85,13 +85,9 @@ static const char* vertSource =
|
||||
"#version 120\n"
|
||||
"#extension GL_EXT_geometry_shader4 : enable\n"
|
||||
"uniform float u_anim1;\n"
|
||||
//"in vec4 Vertex;\n"
|
||||
" varying out vec4 v_color;\n"
|
||||
//"out vec4 v_vertex;\n"
|
||||
"void main(void)\n"
|
||||
"{\n"
|
||||
//" v_color = Vertex;\n"
|
||||
//" v_vertex = Vertex;;//gl_ModelViewProjectionMatrix * Vertex;\n"
|
||||
" gl_Position = (gl_Vertex);\n"
|
||||
" v_color = gl_Vertex;\n"
|
||||
"}\n"
|
||||
@ -103,11 +99,8 @@ static const char* geomSource =
|
||||
{
|
||||
"#version 120\n"
|
||||
"#extension GL_EXT_geometry_shader4 : enable\n"
|
||||
// "layout(points) in;\n"\
|
||||
// "layout(points, max_vertices = 4) out;\n"
|
||||
"uniform float u_anim1;\n"
|
||||
" varying in vec4 v_color[];\n"
|
||||
//" varying in vec4 v_vertex[];\n"
|
||||
" varying vec4 out1;\n"
|
||||
"void main(void)\n"
|
||||
"{\n"
|
||||
|
Loading…
Reference in New Issue
Block a user