Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Targetting v140 doesn't seem to work #43

Open
TurkeyMan opened this issue Feb 22, 2014 · 0 comments
Open

Targetting v140 doesn't seem to work #43

TurkeyMan opened this issue Feb 22, 2014 · 0 comments

Comments

@TurkeyMan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant