comparison src/video/photon/SDL_photon_render.h @ 3383:90935231e9b6

Continue working on 2D support in Photon
author Mike Gorchak <lestat@i.com.ua>
date Sun, 11 Oct 2009 18:45:39 +0000
parents dd105b317335
children 05499ec8c022
comparison
equal deleted inserted replaced
3382:294fb5e6f301 3383:90935231e9b6
53 PmMemoryContext_t* pcontexts[SDL_PHOTON_MAX_SURFACES]; 53 PmMemoryContext_t* pcontexts[SDL_PHOTON_MAX_SURFACES];
54 } SDL_RenderData; 54 } SDL_RenderData;
55 55
56 typedef struct SDL_TextureData 56 typedef struct SDL_TextureData
57 { 57 {
58 uint32_t surface_type;
59 PdOffscreenContext_t* osurface;
60 PhImage_t* psurface;
61 PmMemoryContext_t* pcontext;
58 } SDL_TextureData; 62 } SDL_TextureData;
59 63
60 extern void photon_addrenderdriver(_THIS); 64 extern void photon_addrenderdriver(_THIS);
61 65
62 /* Helper function, which redraws the backbuffer */ 66 /* Helper function, which redraws the backbuffer */