electronut / pp

Code for book Python Playground by Mahesh Venkitachalam (No Starch Press, USA)
564 stars 500 forks source link

simpleglfw not using core profile 3.2 as claimed in comment #9

Open chriscamacho opened 7 years ago

chriscamacho commented 7 years ago
OpenGL Version  GLSL Version
2.0     1.10
2.1     1.20
3.0     1.30
3.1     1.40
3.2     1.50
3.3+    3.30

The shader only actually needs very minor changes to work as a core profile 3.2 shader (1.50) and therefore work when opening a 3.2 context instead of 3.3

electronut commented 7 years ago

If you can send me the changes, I can add it as a comment. Thanks.

chriscamacho commented 7 years ago

sent to info at electronut dot in