Mercurial > sdl-ios-xcode
comparison src/video/gem/SDL_gemvideo.c @ 1103:18e5babe266e
Tell SDL to notfree my video surfaces (Damn, no how-to write a SDL driver)
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Wed, 27 Jul 2005 19:18:10 +0000 |
parents | 1f5ef94e8bef |
children | bf145eaf76ef |
comparison
equal
deleted
inserted
replaced
1102:f0919504adfd | 1103:18e5babe266e |
---|---|
694 printf("sdl:video:gem: setvideomode(): allocated buffer 2\n"); | 694 printf("sdl:video:gem: setvideomode(): allocated buffer 2\n"); |
695 #endif | 695 #endif |
696 } | 696 } |
697 | 697 |
698 /*--- Initialize screen ---*/ | 698 /*--- Initialize screen ---*/ |
699 modeflags = 0; | 699 modeflags = SDL_PREALLOC; |
700 if (VDI_bpp == 8) { | 700 if (VDI_bpp == 8) { |
701 modeflags |= SDL_HWPALETTE; | 701 modeflags |= SDL_HWPALETTE; |
702 } | 702 } |
703 | 703 |
704 if (flags & SDL_FULLSCREEN) { | 704 if (flags & SDL_FULLSCREEN) { |