From 57ec7faab62847db9e85a41e7deeb9e727ba7e2d Mon Sep 17 00:00:00 2001 From: Martin Gerhardy Date: Sat, 23 May 2020 19:42:47 +0200 Subject: [PATCH] TOOLS: updated flextgl template --- src/modules/video/gl/flextGL.h | 3 +-- tools/flextGL/templates/sdl/flextGL.h.template | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/video/gl/flextGL.h b/src/modules/video/gl/flextGL.h index f3c139f45..eac00126c 100644 --- a/src/modules/video/gl/flextGL.h +++ b/src/modules/video/gl/flextGL.h @@ -8,8 +8,6 @@ Do not edit directly, modify the template or profile and regenerate. */ -#include - #ifdef __cplusplus extern "C" { #endif @@ -36,6 +34,7 @@ extern "C" { /* ------------------------------- DATA TYPES ------------------------------ */ +#include typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; diff --git a/tools/flextGL/templates/sdl/flextGL.h.template b/tools/flextGL/templates/sdl/flextGL.h.template index 488583a13..687035c97 100644 --- a/tools/flextGL/templates/sdl/flextGL.h.template +++ b/tools/flextGL/templates/sdl/flextGL.h.template @@ -9,8 +9,6 @@ Do not edit directly, modify the template or profile and regenerate. */ -#include - #ifdef __cplusplus extern "C" { #endif @@ -37,6 +35,8 @@ extern "C" { /* ------------------------------- DATA TYPES ------------------------------ */ +#include + @passthru /* ---------------------------------- ENUMS -------------------------------- */