Difference for arch/ogl/wgl.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 8
 
Line 8
 extern HDC hDC;  extern HDC hDC;
 extern HWND g_hWnd;  extern HWND g_hWnd;
   
 void ogl_swap_buffers(void){  void ogl_swap_buffers_internal(void){
  ogl_do_palfx();  
         SwapBuffers( hDC );          SwapBuffers( hDC );
 //        glXSwapBuffers(dpy,win);  //        glXSwapBuffers(dpy,win);
  glClear(GL_COLOR_BUFFER_BIT);  
 }  }
 int ogl_init_window(int x, int y){  int ogl_init_window(int x, int y){
  SetWindowPos(g_hWnd,0,0,0,x+20,y+50,0);//the width/height seem to include borders/title/etc.. this isn't an exact value, but I didn't feel like testing enough to find the true values. -MPM   SetWindowPos(g_hWnd,0,0,0,x+20,y+50,0);//the width/height seem to include borders/title/etc.. this isn't an exact value, but I didn't feel like testing enough to find the true values. -MPM

Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4