]> git.tdb.fi Git - libs/gl.git/blob - source/backends/vulkan/texture1d_backend.cpp
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / vulkan / texture1d_backend.cpp
1 #include "texture1d_backend.h"
2 #include "vulkan.h"
3
4 namespace Msp {
5 namespace GL {
6
7 VulkanTexture1D::VulkanTexture1D():
8         Texture(VK_IMAGE_VIEW_TYPE_1D)
9 {
10         throw std::logic_error("VulkanTexture1D is unimplemented");
11 }
12
13 void VulkanTexture1D::sub_image(unsigned, int, unsigned, const void *)
14 { }
15
16 size_t VulkanTexture1D::get_data_size() const
17 {
18         return 0;
19 }
20
21 } // namespace GL
22 } // namespace Msp