File diff r25004:7dff93ce5929 → r25005:73570e000548
src/video/cocoa/cocoa_ogl.mm
Show inline comments
 
@@ -265,7 +265,7 @@ void VideoDriver_CocoaOpenGL::AllocateBa
 
	CGLSetCurrentContext(this->gl_context);
 
	NSRect frame = [ this->cocoaview getRealRect:[ this->cocoaview frame ] ];
 
	OpenGLBackend::Get()->Resize(frame.size.width, frame.size.height, force);
 
	_screen.dst_ptr = this->GetVideoPointer();
 
	if (this->buffer_locked) _screen.dst_ptr = this->GetVideoPointer();
 
	this->dirty_rect = {};
 

	
 
	/* Redraw screen */