* workaround gamma bug in 2D views and texture browser with fresh nvidia drivers

This commit is contained in:
Garux
2019-08-31 12:22:47 +03:00
parent 6e42edd1cb
commit 6c9870f941
3 changed files with 17 additions and 3 deletions

View File

@@ -25,7 +25,7 @@
typedef struct _GtkWidget GtkWidget;
typedef int gint;
typedef gint gboolean;
#define NV_DRIVER_GAMMA_BUG 1 //! todo remove as soon, as driver will be fixed
GtkWidget* glwidget_new( gboolean zbuffer );
void glwidget_swap_buffers( GtkWidget* widget );
gboolean glwidget_make_current( GtkWidget* widget );