summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2015-01-11 11:04:57 +0800
committermarynate <mary.w.nate@gmail.com>2015-01-11 11:05:45 +0800
commitbb6daaa02ede319dae34733221bdae8b4f999a99 (patch)
tree318ae53a85ad138336feca1233f8144179362650
parentd30f4e52f654a26e14223a6ef9a946cc6282c0db (diff)
Fix compile compile error on windows platform
-rw-r--r--platform/windows/os_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index a3a26ddb25..45d13da828 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 {