Difference for arch/ogl/glx.c from version 1.7 to 1.8


version 1.7 version 1.8
Line 51
 
Line 51
 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);
  glViewport(0,0,x,y);   OGL_VIEWPORT(0,0,x,y);
  }else {   }else {
  glxcontext=glXCreateContext(dpy,visinfo,0,GL_TRUE);   glxcontext=glXCreateContext(dpy,visinfo,0,GL_TRUE);
  // ogl_destroy_window();//destroy current window before making a new one   // ogl_destroy_window();//destroy current window before making a new one

Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8