From 38886de0c3e9ea5729ef23e4c653fa2822f52e8f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 6 Apr 2021 14:43:39 +0200 Subject: xscreensaver 6.00 --- hacks/glx/glcells.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'hacks/glx/glcells.c') diff --git a/hacks/glx/glcells.c b/hacks/glx/glcells.c index b8ee5b8..e46aeed 100644 --- a/hacks/glx/glcells.c +++ b/hacks/glx/glcells.c @@ -56,9 +56,6 @@ "*wireframe: False \n" \ "*suppressRotationAnimation: True\n" \ -#undef countof -#define countof(x) (sizeof((x))/sizeof((*x))) - #ifndef HAVE_JWZGLES /* glDrawElements unimplemented... */ # define USE_VERTEX_ARRAY #endif @@ -1224,9 +1221,7 @@ ENTRYPOINT void reshape_glcells( ModeInfo *mi, int width, int height ) { State *st = &sstate[MI_SCREEN(mi)]; -# ifdef HAVE_MOBILE int rot = current_device_rotation(); -# endif st->height = height; st->width = width; # ifdef HAVE_MOBILE @@ -1250,9 +1245,7 @@ reshape_glcells( ModeInfo *mi, int width, int height ) glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho( 0, width, height, 0, 200, 0 ); -# ifdef HAVE_MOBILE glRotatef (rot, 0, 0, 1); -# endif glMatrixMode(GL_MODELVIEW); glLoadIdentity(); if (st->food) free( st->food ); -- cgit v1.2.3-55-g7522