Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_d3drender.c @ 4569:e1664f94f026
Andrey A.
I made a video driver GAPI/RAW for WinCE (SDL-1.3).
RAW mode has a priority, and also, GAPI mode works with environment
"SDL_VIDEO_RENDERER=gapi" and for RAW mode "SDL_VIDEO_RENDERER=raw".
I checked the work on the screens of VGA, WVGA, QVGA, WQVGA, HVGA,
+ tested all modes with WindowsMobile Emulator.
Also, correctly draws the pointer position and the scale of the pointer
for VGA/WVGA modes,
correctly draws top left position for DM orientation screen, and
portrait/landscape/square geometry the screen also correct.
Also, I added a small fix for GDI fullscreen mode.
Patch for latest revision SDL-1.3 in an attachment.
Also added small path for mingw32ce build.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 27 Jul 2010 21:31:28 -0700 |
parents | f7b03b6838cb |
children | aa8888658021 |
comparison
equal
deleted
inserted
replaced
4568:25b9cd8bdc30 | 4569:e1664f94f026 |
---|---|
449 SDL_OutOfMemory(); | 449 SDL_OutOfMemory(); |
450 return NULL; | 450 return NULL; |
451 } | 451 } |
452 data->d3d = videodata->d3d; | 452 data->d3d = videodata->d3d; |
453 | 453 |
454 videodata->render = RENDER_D3D; | |
455 | |
454 renderer->DisplayModeChanged = D3D_DisplayModeChanged; | 456 renderer->DisplayModeChanged = D3D_DisplayModeChanged; |
455 renderer->CreateTexture = D3D_CreateTexture; | 457 renderer->CreateTexture = D3D_CreateTexture; |
456 renderer->QueryTexturePixels = D3D_QueryTexturePixels; | 458 renderer->QueryTexturePixels = D3D_QueryTexturePixels; |
457 renderer->SetTexturePalette = D3D_SetTexturePalette; | 459 renderer->SetTexturePalette = D3D_SetTexturePalette; |
458 renderer->GetTexturePalette = D3D_GetTexturePalette; | 460 renderer->GetTexturePalette = D3D_GetTexturePalette; |