Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_ph_wm.c @ 291:68a8a8237c09
Date: Thu, 21 Feb 2002 09:18:24 +0200
From: "Mike Gorchak" <mike@malva.ua>
Subject: Re: Patches for QNX RtP again.
SDL_ph_image.c - Added OpenGL update functions - fixed some application
crashes.
Some dead code removed, reformatting some functions.
SDL_ph_image_c.h - Added OpenGL update function prototype.
SDL_ph_video.c - Added GL_GetAttribute and GL_SetAttribute functions
with next supported flags: SDL_GL_DOUBLEBUFFER,
SDL_GL_STENCIL_SIZE, SDL_GL_DEPTH_SIZE
GetWMInfo function (stub) has been implemented by me,
but not listed in device structure - fixed.
SDL_ph_wm.c - fixed warning 'no return in non-void function'.
README.QNX - Updating readme. Some spellcheck. ;-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 02 Mar 2002 16:50:35 +0000 |
parents | 3d8b6b9f1e18 |
children | f6ffac90895c |
comparison
equal
deleted
inserted
replaced
290:9a02597bc1b0 | 291:68a8a8237c09 |
---|---|
240 windowevent.event_f = Ph_WM_HIDE; | 240 windowevent.event_f = Ph_WM_HIDE; |
241 windowevent.event_state = Ph_WM_EVSTATE_HIDE; | 241 windowevent.event_state = Ph_WM_EVSTATE_HIDE; |
242 windowevent.rid = PtWidgetRid( window ); | 242 windowevent.rid = PtWidgetRid( window ); |
243 PtForwardWindowEvent( &windowevent ); | 243 PtForwardWindowEvent( &windowevent ); |
244 SDL_Unlock_EventThread(); | 244 SDL_Unlock_EventThread(); |
245 | |
246 return 0; | |
245 } | 247 } |
246 | 248 |
247 SDL_GrabMode ph_GrabInputNoLock(_THIS, SDL_GrabMode mode) | 249 SDL_GrabMode ph_GrabInputNoLock(_THIS, SDL_GrabMode mode) |
248 { | 250 { |
249 return(mode); | 251 return(mode); |