Commit Graph

9 Commits

Author SHA1 Message Date
berniev
ae53c9b0a4 Gui: Use auto and range-based for (#7481)
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto. 
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
709c349fa7 [skip ci] avoid to redefine GL_GLEXT_PROTOTYPES if already defined 2020-06-12 14:07:45 +02:00
Zheng, Lei
98f0a11ec0 Mesh: support multiple context in OpenGLMultiBuffer 2019-11-21 14:24:55 +01:00
Zheng, Lei
3f0c474a71 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
wmayer
7a5a17c744 add static function isVBOSupported to OpenGLBuffer to check for the GL_ARB_vertex_buffer_object extension 2018-08-21 10:29:55 +02:00
wmayer
6e6ee94c9b use consistently cc_glglue functions in OpenGLBuffer class 2018-08-16 13:38:46 +02:00
wmayer
584ad02f16 fix build failure if pch is on 2018-08-16 01:50:54 +02:00
wmayer
266f82bca4 move OpenGLBuffer class to core system 2018-08-16 01:30:23 +02:00