summaryrefslogtreecommitdiffstats
path: root/libvo/vo_svga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_svga.c')
-rw-r--r--libvo/vo_svga.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index ffca47b0e4..be2181628d 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -93,7 +93,12 @@ static uint32_t preinit(const char *arg)
maxframes=1;
}
-printf("vo_svga: preinit - maxframes=%i\n",maxframes);
+ if (!checked) {
+ if (checksupportedmodes()) // Looking for available video modes
+ return(1);
+ }
+
+// printf("vo_svga: preinit - maxframes=%i\n",maxframes);
return 0;
}
@@ -119,11 +124,6 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
uint16_t buf_w = USHRT_MAX, buf_h = USHRT_MAX;
vga_modelist_t *list = modelist;
- if (!checked) {
- if (checksupportedmodes()) // Looking for available video modes
- return(1);
- }
-
bpp_avail = 0;
while (list != NULL) {
if ((list->modeinfo.width >= req_w) && (list->modeinfo.height >= req_h)) {