You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I supply ETargetGLSL_140 to parse and translate, and the resulting shader has '#version 140' at the top, but when I give it to OpenGL it complains:
0(230) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(231) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(235) : error C7533: global variable gl_Vertex is deprecated after version 120
0(236) : error C7533: global variable gl_Normal is deprecated after version 120
0(237) : error C7533: global variable gl_MultiTexCoord0 is deprecated after version 120
0(238) : error C7533: global variable gl_Color is deprecated after version 120
0(244) : error C7533: global variable gl_TexCoord is deprecated after version 120
Which seems valid.
Did I do something wrong? Missing options? Surely giving ETargetGLSL_140 should cause it to produce the proper code for the version?
My code is built from github latest.
The text was updated successfully, but these errors were encountered:
I supply ETargetGLSL_140 to parse and translate, and the resulting shader has '#version 140' at the top, but when I give it to OpenGL it complains:
0(230) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(231) : warning C7555: 'attribute' is deprecated, use 'in/out' instead
0(235) : error C7533: global variable gl_Vertex is deprecated after version 120
0(236) : error C7533: global variable gl_Normal is deprecated after version 120
0(237) : error C7533: global variable gl_MultiTexCoord0 is deprecated after version 120
0(238) : error C7533: global variable gl_Color is deprecated after version 120
0(244) : error C7533: global variable gl_TexCoord is deprecated after version 120
Which seems valid.
Did I do something wrong? Missing options? Surely giving ETargetGLSL_140 should cause it to produce the proper code for the version?
My code is built from github latest.
The text was updated successfully, but these errors were encountered: