ctx->Driver.ClearIndex = gl_ggiSetClearIndex;
ctx->Driver.ClearColor = gl_ggiSetClearColor;
- ctx->Driver.Clear = gl_ggiClear;
+// ctx->Driver.Clear = gl_ggiClear;
ctx->Driver.IndexMask = gl_ggiIndexMask;
ctx->Driver.ColorMask = gl_ggiColorMask;
ctx->Driver.Enable = gl_ggiEnable;
return NULL;
ctx->viewport_init = GL_FALSE;
- ctx->gl_vis->DBflag = GL_FALSE;
+// ctx->gl_vis->DBflag = GL_FALSE;
ctx->gl_ctx = _mesa_create_context(ctx->gl_vis, NULL, (void *)ctx, GL_TRUE);
if (!ctx->gl_ctx)
}
ctx->gl_buffer = _mesa_create_framebuffer(ctx->gl_vis,
- ctx->gl_vis->DepthBits > 0,
- ctx->gl_vis->StencilBits > 0,
- ctx->gl_vis->AccumRedBits > 0,
- ctx->gl_vis->AlphaBits > 0);
+// ctx->gl_vis->DepthBits > 0,
+// ctx->gl_vis->StencilBits > 0,
+// ctx->gl_vis->AccumRedBits > 0,
+// ctx->gl_vis->AlphaBits > 0);
+ info.depth_bits > 0,
+ info.stencil_bits > 0,
+ info.accum_bits > 0,
+ info.alpha_bits > 0);
if (!ctx->gl_buffer)
_mesa_swapbuffers( GGIMesa->gl_ctx );
gl_ggiFlush(GGIMesa->gl_ctx);
- if (GGIMesa->gl_vis->DBflag)
- {
+// if (GGIMesa->gl_vis->DBflag)
+// {
memcpy(GGIMesa->lfb[0], GGIMesa->lfb[1], GGIMesa->bufsize);
- }
+// }
}
static void gl_ggiUpdateState(GLcontext *ctx, GLuint new_state)