mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Fix] (MG_Test): Fix compiling error.
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ set(SOURCE_FILES
|
|||||||
MobileGL/MG_State/GLState/TextureState/TextureObject.cpp
|
MobileGL/MG_State/GLState/TextureState/TextureObject.cpp
|
||||||
MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp
|
MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp
|
||||||
MobileGL/MG_State/GLState/TextureState/TextureState.cpp
|
MobileGL/MG_State/GLState/TextureState/TextureState.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(${CMAKE_PROJECT_NAME} SHARED
|
add_library(${CMAKE_PROJECT_NAME} SHARED
|
||||||
${SOURCE_FILES}
|
${SOURCE_FILES}
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
namespace MobileGL {
|
namespace MobileGL {
|
||||||
namespace MG_State {
|
namespace MG_State {
|
||||||
namespace GLState {
|
namespace GLState {
|
||||||
|
|
||||||
class TextureState {
|
class TextureState {
|
||||||
public:
|
public:
|
||||||
static constexpr int MAX_TEXTURE_IMAGE_UNITS = 32;
|
static constexpr int MAX_TEXTURE_IMAGE_UNITS = 32;
|
||||||
@@ -32,4 +31,4 @@ namespace MobileGL {
|
|||||||
};
|
};
|
||||||
} // namespace GLState
|
} // namespace GLState
|
||||||
} // namespace MG_State
|
} // namespace MG_State
|
||||||
} // namespace MobileGL
|
} // namespace MobileGL
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ add_executable(
|
|||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp
|
||||||
|
${MGL_ROOT}/MobileGL/MG_State/GLState/TextureState/TextureObject.cpp
|
||||||
|
${MGL_ROOT}/MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp
|
||||||
|
${MGL_ROOT}/MobileGL/MG_State/GLState/TextureState/TextureState.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/ErrorState/Error.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/ErrorState/Error.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp
|
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp
|
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp
|
||||||
@@ -40,4 +43,4 @@ target_link_libraries(
|
|||||||
)
|
)
|
||||||
|
|
||||||
include(GoogleTest)
|
include(GoogleTest)
|
||||||
gtest_discover_tests(BufferTest)
|
gtest_discover_tests(BufferTest)
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ add_executable(
|
|||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp
|
||||||
|
${MGL_ROOT}/MobileGL/MG_State/GLState/TextureState/TextureObject.cpp
|
||||||
|
${MGL_ROOT}/MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp
|
||||||
|
${MGL_ROOT}/MobileGL/MG_State/GLState/TextureState/TextureState.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_State/GLState/ErrorState/Error.cpp
|
${MGL_ROOT}/MobileGL/MG_State/GLState/ErrorState/Error.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp
|
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp
|
||||||
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp
|
${MGL_ROOT}/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp
|
||||||
@@ -40,4 +43,4 @@ target_link_libraries(
|
|||||||
)
|
)
|
||||||
|
|
||||||
include(GoogleTest)
|
include(GoogleTest)
|
||||||
gtest_discover_tests(VertexArrayTest)
|
gtest_discover_tests(VertexArrayTest)
|
||||||
|
|||||||
Reference in New Issue
Block a user