Commit 7877fcc8 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40799
parent 11632a85
...@@ -23,7 +23,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc ...@@ -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( ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment