mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-27 20:03:44 +02:00
Build config flags are either defined or undefined, never 0
This is for consistency with CMake build configuration Also added SDL_VIDEO_RENDER_GPU to the non-CMake build configurations
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_RENDER_OGL_ES2
|
||||
#ifdef SDL_VIDEO_RENDER_OGL_ES2
|
||||
|
||||
#include "../../video/SDL_sysvideo.h" // For SDL_RecreateWindow
|
||||
#include <SDL3/SDL_opengles2.h>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_RENDER_OGL_ES2
|
||||
#ifdef SDL_VIDEO_RENDER_OGL_ES2
|
||||
|
||||
#include <SDL3/SDL_opengles2.h>
|
||||
#include "SDL_shaders_gles2.h"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef SDL_shaders_gles2_h_
|
||||
#define SDL_shaders_gles2_h_
|
||||
|
||||
#if SDL_VIDEO_RENDER_OGL_ES2
|
||||
#ifdef SDL_VIDEO_RENDER_OGL_ES2
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user