| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/games/pinball/files/ |
Upload File : |
--- base/TextureUtil.cpp.orig 2020-12-18 16:34:55 UTC
+++ base/TextureUtil.cpp
@@ -55,6 +55,7 @@ extern "C" {
#if EM_USE_ALLEGRO
#include <allegro.h>
+#include <GL/gl.h>
BITMAP * backbuffer = NULL;
ZBUFFER * zbuffer = NULL;
#endif // EM_USE_ALLEGRO
@@ -339,9 +340,10 @@ int TextureUtil::genTexture( char const * const filena
EmTexture * const texture)
{
//cout<<"+ Texture::genTexture : "<<filename<<endl;
- *texture = 0;
#if EM_USE_SDL
+ *texture = 0;
+
// Load Texture
struct_image* image = 0;