blob: 5afaaefd5848b207459409e1824ab915f7136800 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
https://bugs.gentoo.org/739094
https://svnweb.freebsd.org/ports/head/games/briquolo/files/patch-src-MOGL-MOGL_PoliceTTF.h?revision=460698&view=co
Fix types passed to SDL_Rect structure (SDL 1.2)
--- a/src/MOGL/MOGL_PoliceTTF.h
+++ b/src/MOGL/MOGL_PoliceTTF.h
@@ -42,10 +42,10 @@
{
GLuint TextureName;
Uint16 carac;
- unsigned int x1;
- unsigned int y1;
- unsigned int x2;
- unsigned int y2;
+ Sint16 x1;
+ Sint16 y1;
+ int x2;
+ int y2;
};
struct MOGL_Struct_TextureCarac
@@ -141,7 +141,7 @@
MOGL_Struct_Carac * _Caracteres;
MOGL_Struct_Carac * (_Correspondance[256-32]);
- unsigned int _LastTextureX, _LastTextureY;
+ Sint16 _LastTextureX, _LastTextureY;
unsigned int maxHeightCarac;
MOGL_Map_Carac _MapCarac;
MOGL_Vector_TextureName _VectorTextureName;
|