Beispiel #1
0
static void APIENTRY logClear(GLbitfield mask)
{
	fprintf(log_fp, "glClear( 0x%x = ", mask);

	if(mask & GL_COLOR_BUFFER_BIT)
		fprintf(log_fp, "GL_COLOR_BUFFER_BIT ");
	if(mask & GL_DEPTH_BUFFER_BIT)
		fprintf(log_fp, "GL_DEPTH_BUFFER_BIT ");
	if(mask & GL_STENCIL_BUFFER_BIT)
		fprintf(log_fp, "GL_STENCIL_BUFFER_BIT ");
	if(mask & GL_ACCUM_BUFFER_BIT)
		fprintf(log_fp, "GL_ACCUM_BUFFER_BIT ");

	fprintf(log_fp, ")\n");
	dllClear(mask);
}
Beispiel #2
0
static void APIENTRY logClear(GLbitfield mask)
{
    SIGf("%s( %#x )\n", "glClear", mask);
    dllClear(mask);
}