mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
1.7 KiB

# --- 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 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it 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. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- 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);