1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/games/pinball/files/patch-base::TextureUtil.cpp
Mark Linimon 2867c8f355 Update to 0.3.1. Changes:
* Menu disappear" and other bugs fixed.
 * Additions to the Tux-table.
 * Ogg files instead of midi files as midi had compability problems.
 * Some tools and bug fixes in table editor.

Also, mark as BROKEN for the Allegro case.  The website says that
the Allegro version is always a bit behind in development and has
more bugs than the SDL/OpenGL version; the maintainer adds that it's
just completely broken now.  If you're using Allegro, you will want
to avoid upgrading.

PR:		ports/60192
Submitted by:	Thierry Thomas <thierry@pompo.net> (maintainer)
2003-12-17 09:31:35 +00:00

23 lines
512 B
C++

--- ./base/TextureUtil.cpp.orig Thu Nov 20 17:46:16 2003
+++ ./base/TextureUtil.cpp Fri Dec 12 21:14:17 2003
@@ -54,6 +54,7 @@
#if EM_USE_ALLEGRO
#include <allegro.h>
+#include <GL/gl.h>
BITMAP * backbuffer = NULL;
ZBUFFER * zbuffer = NULL;
#endif // EM_USE_ALLEGRO
@@ -333,9 +334,10 @@
EmTexture * const texture)
{
//cout<<"+ Texture::genTexture : "<<filename<<endl;
- *texture = 0;
#if EM_USE_SDL
+ *texture = 0;
+
// Load Texture
struct_image* image = 0;