aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/opengl/host/renderer')
-rw-r--r--emulator/opengl/host/renderer/Android.mk6
-rw-r--r--emulator/opengl/host/renderer/main.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/emulator/opengl/host/renderer/Android.mk b/emulator/opengl/host/renderer/Android.mk
index 55fcb80..81dcaf7 100644
--- a/emulator/opengl/host/renderer/Android.mk
+++ b/emulator/opengl/host/renderer/Android.mk
@@ -6,9 +6,9 @@ $(call emugl-import,libOpenglRender)
LOCAL_SRC_FILES := main.cpp
LOCAL_CFLAGS += -O0 -g
-#ifeq ($(HOST_OS),windows)
-#LOCAL_LDLIBS += -lws2_32
-#endif
+ifeq ($(HOST_OS),linux)
+LOCAL_LDLIBS += -lX11
+endif
$(call emugl-end-module)
diff --git a/emulator/opengl/host/renderer/main.cpp b/emulator/opengl/host/renderer/main.cpp
index 2c3f8e2..470e692 100644
--- a/emulator/opengl/host/renderer/main.cpp
+++ b/emulator/opengl/host/renderer/main.cpp
@@ -141,7 +141,7 @@ int main(int argc, char *argv[])
//
// run the server listener loop
//
- server->Main();
+ server->main();
#else
//
// on windows we need to handle messages for the