diff src/video/SDL_video.c @ 2130:3ee59c43d784

Fixes for compiling with Visual C++ 8.0 Express Edition
author Sam Lantinga <slouken@libsdl.org>
date Tue, 19 Jun 2007 05:53:56 +0000
parents 9341a884a4d9
children 926294b2bb4e
line wrap: on
line diff
--- a/src/video/SDL_video.c	Sat Jun 16 15:32:04 2007 +0000
+++ b/src/video/SDL_video.c	Tue Jun 19 05:53:56 2007 +0000
@@ -939,7 +939,6 @@
 SDL_SetWindowTitle(SDL_WindowID windowID, const char *title)
 {
     SDL_Window *window = SDL_GetWindowFromID(windowID);
-    const char *last_title;
 
     if (!window || title == window->title) {
         return;
@@ -1852,7 +1851,6 @@
 SDL_GetTextureAlphaMod(SDL_TextureID textureID, Uint8 * alpha)
 {
     SDL_Texture *texture = SDL_GetTextureFromID(textureID);
-    SDL_Renderer *renderer;
 
     if (!texture) {
         return -1;
@@ -1886,7 +1884,6 @@
 SDL_GetTextureBlendMode(SDL_TextureID textureID, int *blendMode)
 {
     SDL_Texture *texture = SDL_GetTextureFromID(textureID);
-    SDL_Renderer *renderer;
 
     if (!texture) {
         return -1;
@@ -1920,7 +1917,6 @@
 SDL_GetTextureScaleMode(SDL_TextureID textureID, int *scaleMode)
 {
     SDL_Texture *texture = SDL_GetTextureFromID(textureID);
-    SDL_Renderer *renderer;
 
     if (!texture) {
         return -1;