get_gfx_mode_list(3alleg4) Allegro manual get_gfx_mode_list(3alleg4)NAME
get_gfx_mode_list - Obtains a list of available video modes. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
GFX_MODE_LIST *get_gfx_mode_list(int card);
DESCRIPTION
Attempts to create a list of all the supported video modes for a certain graphics driver, made up from the GFX_MODE_LIST structure, which
has the following definition:
typedef struct GFX_MODE_LIST
{
int num_modes;
GFX_MODE *mode;
} GFX_MODE_LIST;
The mode entry points to the actual list of video modes.
typedef struct GFX_MODE
{
int width, height, bpp;
} GFX_MODE;
This list of video modes is terminated with an { 0, 0, 0 } entry.
Note that the card parameter must refer to a _real_ driver. This function fails if you pass GFX_SAFE, GFX_AUTODETECT, or any other "magic"
driver.
RETURN VALUE
Returns a pointer to a list structure of the type GFX_MODE_LIST or NULL if the request could not be satisfied.
SEE ALSO destroy_gfx_mode_list(3alleg4), set_gfx_mode(3alleg4), set_color_depth(3alleg4)Allegro version 4.4.2 get_gfx_mode_list(3alleg4)
Hi there, I'm a newbie so please be patient. I wanted to know if it was possible to run X server on a box w/o a video card. The reason I want to do this is I'd like to have a CDE session from sun workstation into the AIX box. Please let me know if this is feasible. Thanks for your time. (5 Replies)
HI.
i have two monitor and two video card in one system, i want use both of the monitor, i am currently using redhat 7.2 and solaris 8, i was wondering if someone can help me set my system as a dual monitor, basically it called dual head in redhat but i dont' know what it called in sun. Im tring... (4 Replies)
i took this Elite 3D M3 video card out of my Ultra 60 machine which was replaced with an M6. the card was working w/o issue in the Ultra 60. however, i'm getting no video when i power the Tatung machine.
yes, the M3 is does work with an AXi motherboard. any ideas what's causing the problem? (1 Reply)
Hey people I am trying to installed red hat 9.0 on my laptop dell inspiron 1000
but it seem that after the installation the video card fail to work and I got an error.
I look for the video card driver is a SiS 650 and I couldn't find it for linux.. any suggestion I really wanna Installed red hat... (1 Reply)
At the end of the installation of my video card driver's, there is this note on the isntruction from intel
1. Run SuSE's own configurator called 'YAST'
under System from SuSE application broswer menu
a. Select the 'Hardware' icon
b. Select the 'Graphics Card and Monitor' icon
c. Select... (3 Replies)
I have an ultra sparc 2 with no video - I connect to it with hyperterm.
Is there a way to get to the OK prompt? I have tried control/break and that does not work.
If not is there a video card I can get to put in this box?
I have Solaris 10 installed on this machine.
Thanks (7 Replies)
Hi,
After I remove the external video card after setup, Centos 5.4 upon boot cannot start the XServer for the onboard video card. How can I configure XServer to get it working? Machine is a DELL OPTIPLEX 745 (1 Reply)
I have a PIII server, 700mb RAM, 500mhz.. the video card just, quit.. i replaced it with antoher video card.. that too wont work.. i know for a fact both cards are in working order, and it isnt my monitor... what is the problem? i cleaned out the whole computer last night, unplugged EVERYTHING then... (10 Replies)
Hello all.
I have a requirement to install a aftermarket video card in the server, can you advise what fits? or if there is a sun riser part which convers the PCIx slot to PCIe
The unit is a standard x4100 with PCIx slots, not an M2 with the PCIe slots.
thanks (4 Replies)