diff --git a/arch/ogl/gr.c b/arch/ogl/gr.c index 940c8fd12..af85fdeae 100755 --- a/arch/ogl/gr.c +++ b/arch/ogl/gr.c @@ -58,7 +58,6 @@ void gr_do_fullscreen(int f){ int gr_toggle_fullscreen(void){ gr_do_fullscreen(!ogl_fullscreen); - glFlush(); // ZICO - prevents black screen, screen glitches etc. return ogl_fullscreen; } diff --git a/main/credits.c b/main/credits.c index 245938f79..beeff9cd2 100755 --- a/main/credits.c +++ b/main/credits.c @@ -50,9 +50,6 @@ static char rcsid[] = "$Id: credits.c,v 1.1.1.1 2006/03/17 19:44:11 zicodxx Exp #include "cfile.h" #include "compbit.h" #include "songs.h" -#ifdef OGL -#include "ogl_init.h" // ZICO - for gl_scissors -#endif #define ROW_SPACING (GHEIGHT/17) #define NUM_LINES 20 //14 @@ -108,6 +105,8 @@ typedef struct box { int left, top, width, height; } box; +extern inline void scale_line(unsigned char *in, unsigned char *out, int ilen, int olen); + //if filename passed is NULL, show normal credits void credits_show(char *credits_filename) { @@ -219,6 +218,8 @@ void credits_show(char *credits_filename) for (i=0; i=640?FONTSCALE_Y(2):1) ) { int y; + box *new_box; + grs_bitmap *tempbmp; y = first_line_offset - i; #ifdef OGL @@ -264,9 +265,6 @@ void credits_show(char *credits_filename) } // Wacky Fast Credits Thing - box *new_box; - grs_bitmap *tempbmp; - for (j=0; j