Difference for arch/ogl/glx.c from version 1.11 to 1.12


version 1.11 version 1.12
Line 12
 
Line 12
 #include <X11/extensions/xf86vmode.h>  #include <X11/extensions/xf86vmode.h>
 #endif  #endif
   
 static int attribs[]={GLX_RGBA,GLX_DOUBLEBUFFER,None};  static int attribs[]={GLX_RGBA,GLX_DOUBLEBUFFER,GLX_DEPTH_SIZE,0,GLX_STENCIL_SIZE,0,
    GLX_ACCUM_RED_SIZE,0,GLX_ACCUM_GREEN_SIZE,0,GLX_ACCUM_BLUE_SIZE,0,GLX_ACCUM_ALPHA_SIZE,0,None};
   
 int glx_erbase,glx_evbase;  int glx_erbase,glx_evbase;
 Display *dpy;  Display *dpy;
Line 64
 
Line 65
 int ogl_init_window(int x, int y){  int ogl_init_window(int x, int y){
  if (gl_initialized){   if (gl_initialized){
  XResizeWindow(dpy,win,x,y);   XResizeWindow(dpy,win,x,y);
  OGL_VIEWPORT(0,0,x,y);  
  }else {   }else {
  glxcontext=glXCreateContext(dpy,visinfo,0,GL_TRUE);   glxcontext=glXCreateContext(dpy,visinfo,0,GL_TRUE);
   

Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12