diff options
Diffstat (limited to 'include/RenderBackend')
-rw-r--r-- | include/RenderBackend/OpenGL/DeviceMemory.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/RenderBackend/OpenGL/DeviceMemory.hpp b/include/RenderBackend/OpenGL/DeviceMemory.hpp index 10ed040..c37acfb 100644 --- a/include/RenderBackend/OpenGL/DeviceMemory.hpp +++ b/include/RenderBackend/OpenGL/DeviceMemory.hpp @@ -2,6 +2,7 @@ #include "../../DataView.hpp" #include "../../utils.hpp" +#include "../../Triangle2D.hpp" #include <stdexcept> namespace amalgine @@ -36,7 +37,8 @@ namespace amalgine }; ~DeviceMemory(); - void copy(const DataView<f32> &data, StorageType storageType, PrimitiveType primitiveType = PrimitiveType::TRIANGLE); + //void copy(const DataView<f32> &data, StorageType storageType, PrimitiveType primitiveType = PrimitiveType::TRIANGLE); + void copy(const DataView<Triangle2D> &triangles, StorageType storageType); void draw(); private: DeviceMemory(); |