diff options
author | Simon Rettberg | 2021-04-06 14:43:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-07 13:38:37 +0200 |
commit | 38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch) | |
tree | 9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/glx/glcells.c | |
parent | Maybe not remove, but ... (diff) | |
download | xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip |
Diffstat (limited to 'hacks/glx/glcells.c')
-rw-r--r-- | hacks/glx/glcells.c | 7 |
1 files changed, 0 insertions, 7 deletions
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 ); |