Fix new projects always being created with OpenGL
Only Vulkan is fully implemented for now, so OpenGL isn't available in the project manager yet. This also makes the rendering driver checks use lowercase names everywhere for consistency.
This commit is contained in:
parent
96ce806b2f
commit
665d29c16d
8 changed files with 15 additions and 21 deletions
|
|
@ -263,7 +263,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
|
|||
GodotLib.setup(command_line);
|
||||
|
||||
final String videoDriver = GodotLib.getGlobal("rendering/driver/driver_name");
|
||||
if (videoDriver.equals("Vulkan")) {
|
||||
if (videoDriver.equals("vulkan")) {
|
||||
mRenderView = new GodotVulkanRenderView(activity, this);
|
||||
} else {
|
||||
mRenderView = new GodotGLRenderView(activity, this, xrMode, use_32_bits,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue