![]() |
|
AllegroGL can't display fullscreen |
d d
Member #6,768
January 2006
|
I can't get AllegroGL to display something on fullscreen mode. My code works fine in windowed mode but when I try fullscreen my program works but nothing comes on my screen it justs goes to off-mode (the screen). When I press a button for readkey(); it jumps back on and displays the desktop. I could use some help on this. |
casey d
Member #4,901
August 2004
![]() |
If you're running Windows the problem is probably an outdated version of Direct X. -- |
Tobias Dammers
Member #2,604
August 2002
![]() |
Errr... he's using AllegroGL, which implies OpenGL, not DirectX. Still, there's probably a driver issue there, or the graphics card simply can't handle fullscreen in that particular color mode (though that sounds unlikely to me). --- |
miran
Member #2,407
June 2002
|
Try forcing a screen refresh rate you know works at your selected resolution and colour depth. Should be in your gfx card driver settings somewhere... -- |
d d
Member #6,768
January 2006
|
It's probably something on my own machine since the program runs fine on my other (much older) PC in fullscreen mode. I've tried a whole bunch of resolutions but they all failed in fullscreen. I'm gonna download the latest nvidia geforce drivers and try again later. If that doesn't work then I don't know what the problem is. Here's my setgfx function:
My computer is a AMD64 3200+, 512MB DDR, GeForce Ti 4600, running in WinXP at res 1024x768x32x85 (width,height,cdepth,refreshrate). |
casey d
Member #4,901
August 2004
![]() |
Quote: Errr... he's using AllegroGL, which implies OpenGL, not DirectX. Haha, yeah, I just realized that. I did in fact miss the GL at the end. Still not as bad and when I confused vector art with pixel art. I can't even run AllegroGL programs myself unless I compile them with Allegro 4.0.3 AND MSVC. Any later version of Allegro causes the window to be blank and MinGW cause the program to crash. A standard OpenGL application compiled in MinGW however works just fine. I personally think there's some serious compatibility problems going on but since nobody else is complaining I guess that's my problem. Maybe you should try compiling a standard OpenGL program in fullscreen and see if that works. -- |
Milan Mimica
Member #3,877
September 2003
![]() |
casey d & d d: which version of AllegroGL are you using?
-- |
casey d
Member #4,901
August 2004
![]() |
0.2.4 -- |
Milan Mimica
Member #3,877
September 2003
![]() |
old, use cvs, or at least one from http://retrospec.sgn.net/allegro.php
-- |
Evert
Member #794
November 2000
![]() |
As said, you need a more recent version of AllegroGL than 0.2.4 for Allegro 4.2. |
casey d
Member #4,901
August 2004
![]() |
The version on Retrospec gives me the same problem, and I can't login to the CVS repository. -- |
|