*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40799
This commit is contained in:
parent
11632a8558
commit
7877fcc87d
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
|
||||||
#include "extutil.h"
|
#include "extutil.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined(linux) /* Needed for framebuffer console support */
|
#if defined(ENABLE_FBCON) /* Needed for framebuffer console support */
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <linux/fb.h>
|
#include <linux/fb.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -929,7 +929,7 @@ DGAMapPhysical(
|
||||||
if (!name)
|
if (!name)
|
||||||
name = DEV_MEM;
|
name = DEV_MEM;
|
||||||
if ((pMap->fd = open(name, O_RDWR)) < 0)
|
if ((pMap->fd = open(name, O_RDWR)) < 0)
|
||||||
#if defined(linux)
|
#if defined(ENABLE_FBCON)
|
||||||
{ /* /dev/fb0 fallback added by Sam Lantinga <hercules@lokigames.com> */
|
{ /* /dev/fb0 fallback added by Sam Lantinga <hercules@lokigames.com> */
|
||||||
/* Try to fall back to /dev/fb on Linux - FIXME: verify the device */
|
/* Try to fall back to /dev/fb on Linux - FIXME: verify the device */
|
||||||
struct fb_fix_screeninfo finfo;
|
struct fb_fix_screeninfo finfo;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue