Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3

- Use lowercase driver names for the `--rendering-driver`
  command line argument.
This commit is contained in:
Hugo Locurcio 2021-09-27 01:07:10 +02:00
parent e3491a3744
commit ce97ddbcb1
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
98 changed files with 4344 additions and 12432 deletions

View file

@ -31,7 +31,7 @@
#include "gl_manager_windows.h"
#ifdef WINDOWS_ENABLED
#ifdef GLES_WINDOWS_ENABLED
#ifdef OPENGL_ENABLED
#include <stdio.h>
#include <stdlib.h>
@ -66,7 +66,7 @@ int GLManager_Windows::_find_or_create_display(GLWindow &win) {
// }
// create
GLDisplay d_temp;
GLDisplay d_temp = {};
_displays.push_back(d_temp);
int new_display_id = _displays.size() - 1;