diff options
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/osxvideo/cocoawindow.m | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/osxvideo/cocoawindow.m b/sys/osxvideo/cocoawindow.m index c90dc604..9023e2d4 100644 --- a/sys/osxvideo/cocoawindow.m +++ b/sys/osxvideo/cocoawindow.m @@ -170,7 +170,7 @@    /* Free previous texture if any */    if (pi_texture) { -    glDeleteTextures (1, &pi_texture); +    glDeleteTextures (1, (GLuint *)&pi_texture);    }    if (data) { @@ -179,7 +179,7 @@      data = g_malloc0(width * height * sizeof(short));    }    /* Create textures */ -  glGenTextures (1, &pi_texture); +  glGenTextures (1, (GLuint *)&pi_texture);    glEnable (GL_TEXTURE_RECTANGLE_EXT);    glEnable (GL_UNPACK_CLIENT_STORAGE_APPLE); @@ -262,7 +262,7 @@  }  - (void) drawRect:(NSRect) rect { -  int params[] = { 1 }; +  GLint params[] = { 1 };    [actualContext makeCurrentContext];  | 
