Home | History | Annotate | Download | only in maccommon

Lines Matching refs:glContext

112 	glContext = aglCreateContext(format, NULL);
113 if ( glContext == NULL ) {
120 noerr = aglSetDrawable(glContext, GetWindowPort(SDL_Window));
122 noerr = aglSetDrawable(glContext, (AGLDrawable)SDL_Window);
139 if ( glContext != NULL ) {
141 aglSetDrawable(glContext, NULL);
142 aglDestroyContext(glContext);
143 glContext = NULL;
156 if( ! aglSetCurrentContext(glContext) ) {
165 aglSwapBuffers(glContext);