mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-25 05:07:12 +01:00
Fix typo in the javascript backend.
This commit is contained in:
parent
e85cef1745
commit
d39f2a89a7
@ -700,7 +700,7 @@ Error OS_JavaScript::initialize(const VideoMode &p_desired, int p_video_driver,
|
|||||||
bool gl_initialization_error = false;
|
bool gl_initialization_error = false;
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if (gles3) {
|
if (gles2) {
|
||||||
if (godot_js_display_has_webgl(1) && RasterizerGLES2::is_viable() == OK) {
|
if (godot_js_display_has_webgl(1) && RasterizerGLES2::is_viable() == OK) {
|
||||||
attributes.majorVersion = 1;
|
attributes.majorVersion = 1;
|
||||||
RasterizerGLES2::register_config();
|
RasterizerGLES2::register_config();
|
||||||
|
Loading…
Reference in New Issue
Block a user