Просмотр исходного кода

Working custom cursors for all renderers

Marko Pintera 12 лет назад
Родитель
Сommit
0bb79ec403
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      CamelotClient/CamelotClient.cpp

+ 4 - 2
CamelotClient/CamelotClient.cpp

@@ -30,9 +30,9 @@
 #include "CmRTTIType.h"
 #include "CmCursor.h"
 
-#define DX11
+//#define DX11
 //#define DX9
-//#define GL
+#define GL
 
 using namespace CamelotFramework;
 using namespace BansheeEditor;
@@ -282,6 +282,8 @@ int CALLBACK WinMain(
 
 	Cursor::setCustomCursor(*cursorPixelData, Int2(0, 0));
 
+	dbgCursor.reset();
+
 	EditorWindow* newWindow = new EditorWindow("Test window");
 
 	gBansheeApp().runMainLoop();