diff src/video/directfb/SDL_DirectFB_render.c @ 3520:83518f8fcd61

Fixed calls to SDL_AddRenderDriver()
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Dec 2009 08:45:08 +0000
parents 4b594623401b
children 58c1b9ec7074
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_render.c	Fri Dec 04 08:26:32 2009 +0000
+++ b/src/video/directfb/SDL_DirectFB_render.c	Fri Dec 04 08:45:08 2009 +0000
@@ -233,8 +233,10 @@
 DirectFB_AddRenderDriver(_THIS)
 {
     int i;
-    for (i = 0; i < _this->num_displays; i++)
+
+    for (i = 0; i < _this->num_displays; ++i) {
         SDL_AddRenderDriver(&_this->displays[i], &DirectFB_RenderDriver);
+    }
 }
 
 static int