1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-03 15:43:07 +00:00

Rename gl4es-init.cpp/h to follow naming conventions

This commit is contained in:
Alexei Kotov 2025-02-22 21:44:58 +03:00
parent 3793ff8be8
commit 7df74664e4
5 changed files with 6 additions and 8 deletions

View file

@ -36,8 +36,6 @@ components/crashcatcher/windows_crashshm.hpp
components/platform/file.posix.cpp
components/platform/file.stdio.cpp
components/platform/file.win32.cpp
components/sdlutil/gl4es_init.cpp
components/sdlutil/gl4es_init.h
components/to_utf8/gen_iconv.cpp
components/to_utf8/tables_gen.hpp
components/to_utf8/to_utf8.cpp

View file

@ -362,7 +362,7 @@ add_component_dir (fontloader
add_component_dir (sdlutil
events
gl4es_init
gl4esinit
imagetosurface
sdlcursormanager
sdlgraphicswindow

View file

@ -1,7 +1,7 @@
// EGL does not work reliably for feature detection.
// Instead, we initialize gl4es manually.
#ifdef OPENMW_GL4ES_MANUAL_INIT
#include "gl4es_init.h"
#include "gl4esinit.h"
// For glHint
#include <GL/gl.h>

View file

@ -1,5 +1,5 @@
#ifndef OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
#define OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
#ifndef OPENMW_COMPONENTS_SDLUTIL_GL4ESINIT_H
#define OPENMW_COMPONENTS_SDLUTIL_GL4ESINIT_H
#ifdef OPENMW_GL4ES_MANUAL_INIT
#include <SDL_video.h>
@ -10,4 +10,4 @@
extern "C" void openmw_gl4es_init(SDL_Window* window);
#endif // OPENMW_GL4ES_MANUAL_INIT
#endif // OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
#endif // OPENMW_COMPONENTS_SDLUTIL_GL4ESINIT_H

View file

@ -3,7 +3,7 @@
#include <SDL_video.h>
#ifdef OPENMW_GL4ES_MANUAL_INIT
#include "gl4es_init.h"
#include "gl4esinit.h"
#endif
namespace SDLUtil