[Bf-blender-cvs] [ccec1e0] wiggly-widgets: Clean up use of old OGL extensions (correction to previous commit)
Julian Eisel
noreply at git.blender.org
Tue Nov 24 15:14:30 CET 2015
Commit: ccec1e060671ad89eb08c003cb6a13381c3b8362
Author: Julian Eisel
Date: Tue Nov 24 15:11:19 2015 +0100
Branches: wiggly-widgets
https://developer.blender.org/rBccec1e060671ad89eb08c003cb6a13381c3b8362
Clean up use of old OGL extensions (correction to previous commit)
Somehow managed to not include this in rB72b2de3fa6ac.
===================================================================
M source/blender/windowmanager/intern/wm_widgets.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_widgets.c b/source/blender/windowmanager/intern/wm_widgets.c
index fef1158..10c6c19 100644
--- a/source/blender/windowmanager/intern/wm_widgets.c
+++ b/source/blender/windowmanager/intern/wm_widgets.c
@@ -393,7 +393,7 @@ void WM_widgets_draw(const bContext *C, const wmWidgetMap *wmap, const bool in_s
/* enable multisampling */
if (draw_multisample) {
- glEnable(GL_MULTISAMPLE_ARB);
+ glEnable(GL_MULTISAMPLE);
}
if (use_lighting) {
@@ -457,7 +457,7 @@ void WM_widgets_draw(const bContext *C, const wmWidgetMap *wmap, const bool in_s
}
if (draw_multisample)
- glDisable(GL_MULTISAMPLE_ARB);
+ glDisable(GL_MULTISAMPLE);
if (use_lighting)
glPopAttrib();
}
More information about the Bf-blender-cvs
mailing list