diff options
author | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
commit | 26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch) | |
tree | a51e1637554bcd84e63cccb1cb220c898a2c4ee8 /hacks/glx/glcells.c | |
parent | 5.44 (diff) | |
download | xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip |
xscreensaver 6.00
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 ); |