ソースを参照

Reduced required OpenGL version to 3.0

naelstrof 7 年 前
コミット
b3e42e6ecd
共有8 個のファイルを変更した3266 個の追加1532 個の削除を含む
  1. 2
    2
      CMakeLists.txt
  2. 1
    1
      src/framebuffer.hpp
  3. 2131
    0
      src/gl_core_3_0.c
  4. 1129
    265
      src/gl_core_3_0.h
  5. 0
    1261
      src/gl_core_3_3.c
  6. 1
    1
      src/glrectangle.hpp
  7. 1
    1
      src/shader.hpp
  8. 1
    1
      src/window.hpp

+ 2
- 2
CMakeLists.txt ファイルの表示

@@ -21,7 +21,7 @@ endif()
21 21
 
22 22
 include_directories("${PROJECT_BINARY_DIR}")
23 23
 
24
-add_definitions(-DSLOP_VERSION="v6.3.42")
24
+add_definitions(-DSLOP_VERSION="v6.3.43")
25 25
 
26 26
 # The names have to be unique unfortunately.
27 27
 set(EXECUTABLE_NAME "slop")
@@ -33,7 +33,7 @@ add_library(${LIBRARY_NAME} SHARED  src/mouse.cpp
33 33
                                     src/slopstates.cpp
34 34
                                     src/framebuffer.cpp
35 35
                                     src/resource.cpp
36
-                                    src/gl_core_3_3.c
36
+                                    src/gl_core_3_0.c
37 37
                                     src/shader.cpp
38 38
                                     src/window.cpp
39 39
                                     src/slop.cpp

+ 1
- 1
src/framebuffer.hpp ファイルの表示

@@ -21,7 +21,7 @@
21 21
 #ifndef N_FRAMEBUFFER_H_
22 22
 #define N_FRAMEBUFFER_H_
23 23
 
24
-#include "gl_core_3_3.h"
24
+#include "gl_core_3_0.h"
25 25
 #include <glm/glm.hpp>
26 26
 #include <GL/gl.h>
27 27
 #include <vector>

+ 2131
- 0
src/gl_core_3_0.c
ファイル差分が大きすぎるため省略します
ファイルの表示


src/gl_core_3_0.h
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1261
src/gl_core_3_3.c
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 1
- 1
src/glrectangle.hpp ファイルの表示

@@ -21,7 +21,7 @@
21 21
 #ifndef N_GLRECTANGLE_H_
22 22
 #define N_GLRECTANGLE_H_
23 23
 
24
-#include "gl_core_3_3.h"
24
+#include "gl_core_3_0.h"
25 25
 #include <iostream>
26 26
 #include <glm/glm.hpp>
27 27
 #include <GL/gl.h>

+ 1
- 1
src/shader.hpp ファイルの表示

@@ -26,7 +26,7 @@
26 26
 #include <string>
27 27
 #include <exception>
28 28
 
29
-#include "gl_core_3_3.h"
29
+#include "gl_core_3_0.h"
30 30
 #include <glm/glm.hpp>
31 31
 #include <glm/gtc/type_ptr.hpp>
32 32
 #include <EGL/egl.h>

+ 1
- 1
src/window.hpp ファイルの表示

@@ -25,7 +25,7 @@
25 25
 #include <exception>
26 26
 
27 27
 #include <iostream>
28
-#include "gl_core_3_3.h"
28
+#include "gl_core_3_0.h"
29 29
 #include <GL/gl.h>
30 30
 #define GL_GLEXT_PROTOTYPES
31 31
 #define GLX_GLXEXT_PROTOTYPES