*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40599
This commit is contained in:
parent
68c795de40
commit
93db5107c9
1 changed files with 0 additions and 6 deletions
|
@ -131,14 +131,8 @@ static unsigned long F30_palette[256];
|
||||||
|
|
||||||
static int XBIOS_Available(void)
|
static int XBIOS_Available(void)
|
||||||
{
|
{
|
||||||
const char *envr = getenv("SDL_VIDEODRIVER");
|
|
||||||
unsigned long cookie_vdo;
|
unsigned long cookie_vdo;
|
||||||
|
|
||||||
/* Check if user asked a different video driver */
|
|
||||||
if ((envr) && (strcmp(envr, XBIOS_VID_DRIVER_NAME)!=0)) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Cookie _VDO present ? if not, assume ST machine */
|
/* Cookie _VDO present ? if not, assume ST machine */
|
||||||
if (Getcookie(C__VDO, &cookie_vdo) != C_FOUND) {
|
if (Getcookie(C__VDO, &cookie_vdo) != C_FOUND) {
|
||||||
cookie_vdo = VDO_ST << 16;
|
cookie_vdo = VDO_ST << 16;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue