浏览代码

not sure what was on my mind there but I totally got the variable names wrong in that last commit (for NSOpenGLContext update)

jp9000 11 年之前
父节点
当前提交
141b22e76e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libobs-opengl/gl-cocoa.m

+ 1 - 1
libobs-opengl/gl-cocoa.m

@@ -222,7 +222,7 @@ void gl_windowinfo_destroy(struct gl_windowinfo *wi)
 
 
 void gl_update(device_t device)
 void gl_update(device_t device)
 {
 {
-	[debug->play->context update]
+	[device->plat->context update]
 }
 }
 
 
 void device_entercontext(device_t device)
 void device_entercontext(device_t device)