Skip to content
Snippets Groups Projects
Commit 1285c967 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

hack for mingw

parent 83aaaa1e
Branches
Tags
No related merge requests found
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
#if defined(HAVE_CAIRO) #if defined(HAVE_CAIRO)
#include <cairo/cairo.h> #include <cairo/cairo.h>
// FIXME: hack for current version of mingw
#if defined(WIN32) && !defined(GL_TEXTURE_RECTANGLE_EXT)
#define GL_TEXTURE_RECTANGLE_EXT 0x84F5
#endif
class drawContextFltkCairo::queueString { class drawContextFltkCairo::queueString {
public : public :
typedef struct { typedef struct {
......
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
#include "drawContextFltkStringTexture.h" #include "drawContextFltkStringTexture.h"
// FIXME: hack for current version of mingw
#if defined(WIN32) && !defined(GL_TEXTURE_RECTANGLE_EXT)
#define GL_TEXTURE_RECTANGLE_EXT 0x84F5
#endif
class drawContextFltkStringTexture::queueString { class drawContextFltkStringTexture::queueString {
public : public :
typedef struct { typedef struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment