// glClearDepthf( depth ); // broken on Qualcomm Adreno
glClearDepthf( 1.0f ); // fixes missing graphics on Qualcomm Adreno
glClearColor( 0, 0, 0, 1 );
- glClear( GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT );
+ glClear( GL_DEPTH_BUFFER_BIT );
OGL_UpdateDepthUpdate();
glEnable( GL_SCISSOR_TEST );
////////
{
//OGL_DrawTriangles();
scProgramChanged = 0;
-#if 0
+#if 1
static int frames = 0;
static unsigned lastTicks = 0;
unsigned ticks = ticksGetTicks();