comparison src/video/uikit/SDL_uikitopengles.m @ 4488:6dc6a2bdd55e

Re-implemented single mouse touches on the iPhone/iPad
author Sam Lantinga <slouken@libsdl.org>
date Tue, 06 Jul 2010 22:08:19 -0700
parents 8b03a20b320f
children 06c7423f8c60
comparison
equal deleted inserted replaced
4487:ba7b2bc1f1a1 4488:6dc6a2bdd55e
123 123
124 if ( UIKit_GL_MakeCurrent(_this, window, view) < 0 ) { 124 if ( UIKit_GL_MakeCurrent(_this, window, view) < 0 ) {
125 UIKit_GL_DeleteContext(_this, view); 125 UIKit_GL_DeleteContext(_this, view);
126 return NULL; 126 return NULL;
127 } 127 }
128 128
129 /* Make this window the current mouse focus for touch input */
130 SDL_SetMouseFocus(window);
131
129 return view; 132 return view;
130 } 133 }
131 134
132 void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context) 135 void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context)
133 { 136 {