fa0c8e1b78
gcc3 patch from espie
66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
$OpenBSD: patch-uta_blitters_cc,v 1.3 2004/01/04 20:32:29 pvalchev Exp $
|
|
--- uta/blitters.cc.orig 2004-01-04 15:27:06.000000000 +0100
|
|
+++ uta/blitters.cc 2004-01-04 15:28:30.000000000 +0100
|
|
@@ -20,6 +20,7 @@
|
|
|
|
#include "blitters.h"
|
|
#include <painter.h>
|
|
+#include <iosfwd>
|
|
|
|
namespace uta {
|
|
|
|
@@ -35,7 +36,7 @@ void gammablit_RGBA8888_RGBA8888(Surface
|
|
char g,
|
|
const Rect& srcRect, const Point& dstPoint)
|
|
{
|
|
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
|
|
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
|
|
}
|
|
|
|
/** Convert RGBA8888 to RGB565 and apply const gamma value.
|
|
@@ -45,7 +46,7 @@ void gammablit_RGBA8888_RGB565(Surface*
|
|
char g,
|
|
const Rect& srcRect, const Point& dstPoint)
|
|
{
|
|
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
|
|
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
|
|
}
|
|
|
|
/** Apply const gamma value.
|
|
@@ -54,7 +55,7 @@ void gammablit_RGB565_RGB565(Surface* ds
|
|
char g,
|
|
const Rect& srcRect, const Point& dstPoint)
|
|
{
|
|
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
|
|
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
|
|
}
|
|
|
|
/** Apply per pixel gamma value.
|
|
@@ -64,7 +65,7 @@ void gammablit_RGBA8888_RGBA8888(Surface
|
|
GammaFunction* func,
|
|
const Rect& srcRect, const Point& dstPoint)
|
|
{
|
|
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
|
|
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
|
|
}
|
|
|
|
/** Convert RGBA8888 to RGB565 and apply per pixel gamma value.
|
|
@@ -74,7 +75,7 @@ void gammablit_RGBA8888_RGB565(Surface*
|
|
GammaFunction* func,
|
|
const Rect& srcRect, const Point& dstPoint)
|
|
{
|
|
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
|
|
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
|
|
}
|
|
|
|
/** Apply per pixel gamma value.
|
|
@@ -83,7 +84,7 @@ void gammablit_RGB565_RGB565(Surface* ds
|
|
GammaFunction* func,
|
|
const Rect& srcRect, const Point& dstPoint)
|
|
{
|
|
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
|
|
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
|
|
}
|
|
|
|
#else // ! X86_ASSEMBLER
|