|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/kasc/clanlib/directfb_fix.patch
|
|
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
--- ./Sources/Display/Display/DirectFB/target_directfb.cpp.orig 2003-08-05 15:59:59.000000000 +0200
|
|
+++ ./Sources/Display/Display/DirectFB/target_directfb.cpp 2003-08-05 16:00:38.000000000 +0200
|
|
@@ -104,7 +104,7 @@
|
|
|
|
unsigned int CL_Target_DirectFB::get_width() const
|
|
{
|
|
- unsigned int width = 0;
|
|
+ int width = 0;
|
|
|
|
surface->GetSize (surface, &width, NULL);
|
|
|
|
@@ -113,7 +113,7 @@
|
|
|
|
unsigned int CL_Target_DirectFB::get_height() const
|
|
{
|
|
- unsigned int height = 0;
|
|
+ int height = 0;
|
|
|
|
surface->GetSize (surface, NULL, &height);
|
|
|
|
@@ -263,7 +263,7 @@
|
|
|
|
void CL_Target_DirectFB::Clear (float r, float g, float b, float a)
|
|
{
|
|
- unsigned int width, height;
|
|
+ int width, height;
|
|
|
|
surface->GetSize (surface, &width, &height);
|
|
|