Mercurial > sdl-ios-xcode
comparison src/video/macrom/SDL_romvideo.c @ 3949:70dac8976f94 SDL-1.2
Minor macrom comment cleanup.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 03 Jun 2007 19:21:07 +0000 |
parents | e6de7e5fd451 |
children | 7cdb1d7fc93b |
comparison
equal
deleted
inserted
replaced
3948:ab8297bf3768 | 3949:70dac8976f94 |
---|---|
161 #if SDL_VIDEO_OPENGL | 161 #if SDL_VIDEO_OPENGL |
162 device->GL_MakeCurrent = Mac_GL_MakeCurrent; | 162 device->GL_MakeCurrent = Mac_GL_MakeCurrent; |
163 device->GL_SwapBuffers = Mac_GL_SwapBuffers; | 163 device->GL_SwapBuffers = Mac_GL_SwapBuffers; |
164 device->GL_LoadLibrary = Mac_GL_LoadLibrary; | 164 device->GL_LoadLibrary = Mac_GL_LoadLibrary; |
165 device->GL_GetProcAddress = Mac_GL_GetProcAddress; | 165 device->GL_GetProcAddress = Mac_GL_GetProcAddress; |
166 #endif // Have OpenGL | 166 #endif /* Have OpenGL */ |
167 device->SetCaption = Mac_SetCaption; | 167 device->SetCaption = Mac_SetCaption; |
168 device->SetIcon = NULL; | 168 device->SetIcon = NULL; |
169 device->IconifyWindow = NULL; | 169 device->IconifyWindow = NULL; |
170 device->GrabInput = NULL; | 170 device->GrabInput = NULL; |
171 device->GetWMInfo = NULL; | 171 device->GetWMInfo = NULL; |
687 (**cTab).ctTable[j].value = j; | 687 (**cTab).ctTable[j].value = j; |
688 (**cTab).ctTable[j].rgb.red = colors[i].r << 8 | colors[i].r; | 688 (**cTab).ctTable[j].rgb.red = colors[i].r << 8 | colors[i].r; |
689 (**cTab).ctTable[j].rgb.green = colors[i].g << 8 | colors[i].g; | 689 (**cTab).ctTable[j].rgb.green = colors[i].g << 8 | colors[i].g; |
690 (**cTab).ctTable[j].rgb.blue = colors[i].b << 8 | colors[i].b; | 690 (**cTab).ctTable[j].rgb.blue = colors[i].b << 8 | colors[i].b; |
691 } | 691 } |
692 // if ( (this->screen->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) | 692 |
693 { | 693 #if 0 |
694 if ( (this->screen->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) | |
695 #endif | |
696 { | |
694 GDevice **odisplay; | 697 GDevice **odisplay; |
695 odisplay = GetGDevice(); | 698 odisplay = GetGDevice(); |
696 SetGDevice(SDL_Display); | 699 SetGDevice(SDL_Display); |
697 SetEntries(0, (**cTab).ctSize, (ColorSpec *)&(**cTab).ctTable); | 700 SetEntries(0, (**cTab).ctSize, (ColorSpec *)&(**cTab).ctTable); |
698 SetGDevice(odisplay); | 701 SetGDevice(odisplay); |