-/*
- * (Cloudwalk) FIXME: If anyone wants to figure this shit out,
- * go ahead. Clearing r_shadow_occlusion_buf is enough on AMD
- * and NVIDIA. But Intel, even if I call glDeleteBuffers, insists
- * on doing some stupid bullshit, causing a crash in the driver,
- * when ever it calls glGetQueryObjectiv. In the interest of
- * maintaining some semblance of stability, no occlusionquery
- * for Intel.
- */
-static void R_DisableCoronas_Intel_c(char *string)
-{
- int value;
- if(strstr(gl_vendor,"Intel"))
- {
- value = atoi(string);
- if(value == 1)
- {
- Con_Warnf("Occlusion query is not supported on Intel iGPUs at this time. Sorry!\n");
- string[0] = '0', string[1] = '\000';
- }
- else if (value != 0)
- Con_Warnf("Force-enabling occlusion query on Intel. Proceed at your own risk. It *will* crash after a vid_restart!\n");
- }
-}
-