From bb6daaa02ede319dae34733221bdae8b4f999a99 Mon Sep 17 00:00:00 2001 From: marynate Date: Sun, 11 Jan 2015 11:04:57 +0800 Subject: [PATCH] Fix compile compile error on windows platform --- platform/windows/os_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index a3a26ddb25f..45d13da8287 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -134,7 +134,7 @@ int OS_Windows::get_video_driver_count() const { } const char * OS_Windows::get_video_driver_name(int p_driver) const { - return p_driver=="GLES2"; + return "GLES2"; } OS::VideoMode OS_Windows::get_default_video_mode() const {