Browse Source

more fixes

Kajetan Johannes Hammerle 2 years ago
parent
commit
9a4f9c477c
2 changed files with 2 additions and 1 deletions
  1. 1 0
      rendering/Window.h
  2. 1 1
      tests/StringBufferTests.cpp

+ 1 - 0
rendering/Window.h

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

+ 1 - 1
tests/StringBufferTests.cpp

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