opengl add-on: Fix logical/bitwise mismatch. CID 11201
* The !DOUBLE actually wipes *all* GL settings causing the teapot depth issues. * Teapot now renders properly, however still flickers red on mouse over. * Disable tracing, it really spams the console when GL is working.
This commit is contained in:
parent
bfb639d98a
commit
f7167131ad
@ -46,7 +46,7 @@ extern "C" {
|
||||
#include "vbo/vbo.h"
|
||||
|
||||
|
||||
#define TRACE_SOFTGL
|
||||
//#define TRACE_SOFTGL
|
||||
#ifdef TRACE_SOFTGL
|
||||
# define TRACE(x...) printf("MesaSoftwareRenderer: " x)
|
||||
# define CALLED() printf("MesaSoftwareRenderer: %s\n", __PRETTY_FUNCTION__)
|
||||
@ -219,7 +219,7 @@ MesaSoftwareRenderer::MesaSoftwareRenderer(BGLView* view, ulong options,
|
||||
fColorSpace = BScreen(GLView()->Window()).ColorSpace();
|
||||
|
||||
// We force single buffering for the time being
|
||||
options &= !BGL_DOUBLE;
|
||||
options &= ~BGL_DOUBLE;
|
||||
|
||||
const GLboolean rgbFlag = ((options & BGL_INDEX) == 0);
|
||||
const GLboolean alphaFlag = ((options & BGL_ALPHA) == BGL_ALPHA);
|
||||
|
Loading…
Reference in New Issue
Block a user