浏览代码

more fixes

Kajetan Johannes Hammerle 3 年之前
父节点
当前提交
9a4f9c477c
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      rendering/Window.h
  2. 1 1
      tests/StringBufferTests.cpp

+ 1 - 0
rendering/Window.h

@@ -1,6 +1,7 @@
 #ifndef WINDOW_H
 #ifndef WINDOW_H
 #define WINDOW_H
 #define WINDOW_H
 
 
+#define GLEW_STATIC
 #define GLFW_INCLUDE_NONE
 #define GLFW_INCLUDE_NONE
 #include <GLFW/glfw3.h>
 #include <GLFW/glfw3.h>
 
 

+ 1 - 1
tests/StringBufferTests.cpp

@@ -98,7 +98,7 @@ static void testUnicode(Test& test) {
     s.appendUnicode('\u0040')
     s.appendUnicode('\u0040')
         .appendUnicode(L'\u0400')
         .appendUnicode(L'\u0400')
         .appendUnicode(L'\u8000')
         .appendUnicode(L'\u8000')
-        .appendUnicode(L'\U00100000');
+        .appendUnicode(U'\U00100000');
     test.checkEqual(String("\u0040\u0400\u8000\U00100000"), s,
     test.checkEqual(String("\u0040\u0400\u8000\U00100000"), s,
                     "unicode append");
                     "unicode append");
 }
 }