Mercurial > sdl-ios-xcode
comparison src/events/SDL_events.c @ 1140:af8b0f9ac2f4
iPod Linux framebuffer support.
--ryan.
Date: Sun, 19 Jun 2005 15:53:22 -0700
From: Joshua Oreman <oremanj@gmail.com>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] iPod framebuffer video driver
Hi SDL-list,
I've been working on a port of SDL to iPodLinux
(http://www.ipodlinux.org). I've created a patch for both the
standard 2-bit iPod screen (using an unchangeable palette) and the
16-bit iPod photo. The patch is attached, against version 1.2.8.
I've created two pages on the iPodLinux wiki about this patch:
http://www.ipodlinux.org/Building_SDL and
http://www.ipodlinux.org/SDL_Programming. See those pages if you're
curious.
Comments? Questions? Is this something that might be able to get into SDL 1.2.9?
Thanks for your feedback!
-- Josh
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 08 Sep 2005 07:33:22 +0000 |
parents | 28ac87a38c17 |
children | 173c063d4f55 |
comparison
equal
deleted
inserted
replaced
1139:d0ae4dff7208 | 1140:af8b0f9ac2f4 |
---|---|
179 if ( SDL_EventThread ) { | 179 if ( SDL_EventThread ) { |
180 SDL_WaitThread(SDL_EventThread, NULL); | 180 SDL_WaitThread(SDL_EventThread, NULL); |
181 SDL_EventThread = NULL; | 181 SDL_EventThread = NULL; |
182 SDL_DestroyMutex(SDL_EventLock.lock); | 182 SDL_DestroyMutex(SDL_EventLock.lock); |
183 } | 183 } |
184 #ifndef IPOD | |
184 SDL_DestroyMutex(SDL_EventQ.lock); | 185 SDL_DestroyMutex(SDL_EventQ.lock); |
186 #endif | |
185 } | 187 } |
186 | 188 |
187 Uint32 SDL_EventThreadID(void) | 189 Uint32 SDL_EventThreadID(void) |
188 { | 190 { |
189 return(event_thread); | 191 return(event_thread); |