Fix typo and missing include in the windows and oxs backends.

This commit is contained in:
Relintai 2022-03-16 09:09:28 +01:00
parent d39f2a89a7
commit 257f1f6175
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@
#include "drivers/gles2/rasterizer_gles2.h"
#include "main/main.h"
#include "servers/visual/visual_server_raster.h"
#include "scene/resources/texture.h"
#include <mach-o/dyld.h>
#include <os/log.h>
@ -1731,7 +1732,7 @@ Error OS_OSX::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
bool gl_initialization_error = false;
while (true) {
if (gles3) {
if (gles2) {
if (RasterizerGLES2::is_viable() == OK) {
RasterizerGLES2::register_config();
RasterizerGLES2::make_current();

View File

@ -44,6 +44,7 @@
#include "servers/visual/visual_server_raster.h"
#include "servers/visual/visual_server_wrap_mt.h"
#include "windows_terminal_logger.h"
#include "scene/resources/texture.h"
#include <avrt.h>
#include <direct.h>