Mercurial > sdl-ios-xcode
comparison src/video/wscons/SDL_wsconsvideo.c @ 1383:1736c5e2173f
NetBSD support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 20 Feb 2006 03:57:03 +0000 |
parents | 19418e4422cb |
children | d910939febfa |
comparison
equal
deleted
inserted
replaced
1382:b34d38f76a2a | 1383:1736c5e2173f |
---|---|
189 wstype == WSDISPLAY_TYPE_SUNTCX || | 189 wstype == WSDISPLAY_TYPE_SUNTCX || |
190 wstype == WSDISPLAY_TYPE_SUNFFB) { | 190 wstype == WSDISPLAY_TYPE_SUNFFB) { |
191 private->redMask = 0x0000ff; | 191 private->redMask = 0x0000ff; |
192 private->greenMask = 0x00ff00; | 192 private->greenMask = 0x00ff00; |
193 private->blueMask = 0xff0000; | 193 private->blueMask = 0xff0000; |
194 #ifdef WSDISPLAY_TYPE_PXALCD | |
194 } else if (wstype == WSDISPLAY_TYPE_PXALCD) { | 195 } else if (wstype == WSDISPLAY_TYPE_PXALCD) { |
195 private->redMask = 0x1f << 11; | 196 private->redMask = 0x1f << 11; |
196 private->greenMask = 0x3f << 5; | 197 private->greenMask = 0x3f << 5; |
197 private->blueMask = 0x1f; | 198 private->blueMask = 0x1f; |
199 #endif | |
198 } else { | 200 } else { |
199 WSCONS_ReportError("Unknown video hardware"); | 201 WSCONS_ReportError("Unknown video hardware"); |
200 return -1; | 202 return -1; |
201 } | 203 } |
202 } else { | 204 } else { |