comparison src/video/SDL_renderer_gl.c @ 1975:ccef0d0c40c6

Added resize support for GDI and Direct3D renderers
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Aug 2006 05:24:13 +0000
parents 70deaf574153
children 8055185ae4ed
comparison
equal deleted inserted replaced
1974:70deaf574153 1975:ccef0d0c40c6
787 SDL_FreeDirtyRects(&data->dirty); 787 SDL_FreeDirtyRects(&data->dirty);
788 SDL_free(data); 788 SDL_free(data);
789 texture->driverdata = NULL; 789 texture->driverdata = NULL;
790 } 790 }
791 791
792 void 792 static void
793 GL_DestroyRenderer(SDL_Renderer * renderer) 793 GL_DestroyRenderer(SDL_Renderer * renderer)
794 { 794 {
795 GL_RenderData *data = (GL_RenderData *) renderer->driverdata; 795 GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
796 796
797 if (data) { 797 if (data) {