Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 674:377d987db8f2
prev669:ab344e42bca9
next681:1755a126b109
author nkeynes
date Mon May 26 10:42:18 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Fix save states for x86-64, and ensure compatibility between 32-bit and 64-bit versions
file annotate diff log raw
1.1 --- a/src/display.h Mon May 12 10:00:13 2008 +0000
1.2 +++ b/src/display.h Mon May 26 10:42:18 2008 +0000
1.3 @@ -67,11 +67,11 @@
1.4 uint32_t width;
1.5 uint32_t height;
1.6 uint32_t rowstride;
1.7 - int colour_format;
1.8 + uint32_t colour_format;
1.9 sh4addr_t address; /* Address buffer was rendered to, or -1 for unrendered */
1.10 uint32_t size; /* Size of buffer in bytes, must be width*height*bpp */
1.11 gboolean inverted;/* True if the buffer is upside down */
1.12 - int scale;
1.13 + uint32_t scale;
1.14 unsigned int buf_id; /* driver-specific buffer id, if applicable */
1.15 gboolean flushed; /* True if the buffer has been flushed to vram */
1.16 };
1.17 @@ -84,7 +84,7 @@
1.18 uint32_t width;
1.19 uint32_t height;
1.20 uint32_t rowstride;
1.21 - int colour_format;
1.22 + uint32_t colour_format;
1.23 sh4addr_t address;
1.24 uint32_t size; /* Size of buffer in bytes, must be width*height*bpp */
1.25 gboolean inverted;/* True if the buffer is upside down */
.