diff --git a/src/graphics.c b/src/graphics.c index afeb79267..f1f9f6e3f 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1561,11 +1561,21 @@ void draw_other(pixel *vid) // EMP effect if (g>255) g=255; if (b>255) g=255; if (a>255) a=255; +#ifdef OGLR + glBegin(GL_QUADS); + glColor4i(r, g, b, a); + glVertex2f(0, 0); + glVertex2f(XRES, 0); + glVertex2f(XRES, YRES); + glVertex2f(0, YRES); + glEnd(); +#else for (j=0; j