XQuartz: GLX: Drawable does not contain resize anymore.
(cherry picked from commit 1e642f22fbf029bb3917091cb5fa2f78b4a92f62)
This commit is contained in:
		
							parent
							
								
									1b30545c04
								
							
						
					
					
						commit
						a8e634b86d
					
				| 
						 | 
					@ -471,13 +471,6 @@ static int __glXAquaContextForceCurrent(__GLXcontext *baseContext)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Drawing surface notification callbacks */
 | 
					/* Drawing surface notification callbacks */
 | 
				
			||||||
 | 
					 | 
				
			||||||
static GLboolean __glXAquaDrawableResize(__GLXdrawable *base)  {
 | 
					 | 
				
			||||||
    // Don't remove, <rdar://problem/7114913>
 | 
					 | 
				
			||||||
    GLAQUA_DEBUG_MSG("unimplemented glAquaDrawableResize\n");
 | 
					 | 
				
			||||||
    return GL_TRUE;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static GLboolean __glXAquaDrawableSwapBuffers(__GLXdrawable *base) {
 | 
					static GLboolean __glXAquaDrawableSwapBuffers(__GLXdrawable *base) {
 | 
				
			||||||
    CGLError err;
 | 
					    CGLError err;
 | 
				
			||||||
    __GLXAquaDrawable *drawable;
 | 
					    __GLXAquaDrawable *drawable;
 | 
				
			||||||
| 
						 | 
					@ -664,7 +657,6 @@ __glXAquaScreenCreateDrawable(__GLXscreen *screen,
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  glxPriv->base.destroy       = __glXAquaDrawableDestroy;
 | 
					  glxPriv->base.destroy       = __glXAquaDrawableDestroy;
 | 
				
			||||||
  glxPriv->base.resize        = __glXAquaDrawableResize;
 | 
					 | 
				
			||||||
  glxPriv->base.swapBuffers   = __glXAquaDrawableSwapBuffers;
 | 
					  glxPriv->base.swapBuffers   = __glXAquaDrawableSwapBuffers;
 | 
				
			||||||
  glxPriv->base.copySubBuffer = NULL; /* __glXAquaDrawableCopySubBuffer; */
 | 
					  glxPriv->base.copySubBuffer = NULL; /* __glXAquaDrawableCopySubBuffer; */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue