summaryrefslogtreecommitdiffstats
path: root/modes.c
diff options
context:
space:
mode:
authorJaroslav Hensl <[email protected]>2025-07-13 00:20:18 +0200
committerJaroslav Hensl <[email protected]>2025-07-13 00:20:18 +0200
commit3d70cb97ac6195d7af643addc50ba2d2c06da549 (patch)
treea34fb91d3bf19c99d8d7b5968a03600c6fc60c08 /modes.c
parente059722c721125a5d10e0fafb6f9b0e378e86302 (diff)
VESA support: double buffering + palette modes
Diffstat (limited to 'modes.c')
-rw-r--r--modes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modes.c b/modes.c
index dc98360..3c4e367 100644
--- a/modes.c
+++ b/modes.c
@@ -213,7 +213,7 @@ static int SetDisplayMode( WORD wXRes, WORD wYRes, int bFullSet )
#endif
#ifdef VESA
- if(!VESA_setmode(wXRes, wYRes, wBpp))
+ if(!VESA_setmode(wXRes, wYRes, wBpp, 0, 0))
{
return 0;
}
@@ -278,7 +278,7 @@ int PhysicalEnable( void )
#endif
#ifdef VESA
- VESA_setmode(wScrX, wScrY, wBpp);
+ VESA_setmode(wScrX, wScrY, wBpp, 0, 0);
#endif
/* Let the VDD know that the mode changed. */