Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 850:28782ebbd01d
prev849:bbe26d798fc2
next863:a5e5310061e2
author nkeynes
date Tue Sep 09 00:49:35 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Add GTK controller page for the lightgun
file annotate diff log raw
1.1 --- a/src/display.h Mon Sep 08 05:13:51 2008 +0000
1.2 +++ b/src/display.h Tue Sep 09 00:49:35 2008 +0000
1.3 @@ -54,6 +54,13 @@
1.4 #define COLFMT_BGR0888 8 /* 32-bit BGR */
1.5 #define COLFMT_RGB888 9 /* 24-bit RGB (ie GL native) */
1.6
1.7 +/**
1.8 + * The standard display size (for the purposes of mouse inputs, etc, is 640x480 -
1.9 + * events should be adjusted accordingly if this is not the actual window size.
1.10 + */
1.11 +#define DISPLAY_WIDTH 640
1.12 +#define DISPLAY_HEIGHT 480
1.13 +
1.14 struct colour_format {
1.15 GLint type, format, int_format;
1.16 int bpp;
.