pike.git / src / post_modules / GL / top.c

version» Context lines:

pike.git/src/post_modules/GL/top.c:1:   /* -  * $Id: top.c,v 1.14 2000/12/01 18:46:05 hubbe Exp $ +  * $Id: top.c,v 1.15 2002/05/10 23:57:39 nilsson Exp $    *    */      #include "config.h"      #ifdef HAVE_GL      #ifdef HAVE_WINDEF_H   #include <windef.h>   #endif /* HAVE_WINDEF_H */
pike.git/src/post_modules/GL/top.c:17:   #include <GL/gl.h>   #endif /* HAVE_GL_GL_H */   #ifdef HAVE_GL_GLX_H   #include <GL/glx.h>   #endif /* HAVE_GL_GLX_H */      #endif /* HAVE_GL */      #include "global.h"    - RCSID("$Id: top.c,v 1.14 2000/12/01 18:46:05 hubbe Exp $"); + RCSID("$Id: top.c,v 1.15 2002/05/10 23:57:39 nilsson Exp $");   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "interpret.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "pike_error.h"      #include "module_magic.h"
pike.git/src/post_modules/GL/top.c:40: Inside #if defined(HAVE_GL)
     static void f_glGet(INT32 args)   {    INT32 arg1;    GLint i, i2[4];    GLboolean b[4];    GLfloat f[16];       check_all_args("glGet", args, BIT_INT, 0);    -  arg1=sp[0-args].u.integer; +  arg1=Pike_sp[0-args].u.integer;       pop_n_elems(args);       switch(arg1) {    case GL_ACCUM_ALPHA_BITS:    case GL_ACCUM_BLUE_BITS:    case GL_ACCUM_GREEN_BITS:    case GL_ACCUM_RED_BITS:    case GL_ALPHA_BITS:    case GL_ALPHA_TEST_FUNC: