X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Ftexture2d_backend.cpp;fp=source%2Fbackends%2Fvulkan%2Ftexture2d_backend.cpp;h=a80e1f945e280ebcfbc422bd62eea127528aa2d3;hb=99ca354f18119f82f1adeca100cd665a8f640317;hp=0000000000000000000000000000000000000000;hpb=4cd245dafe6a7ee5c93edca5aee2d146f1155309;p=libs%2Fgl.git diff --git a/source/backends/vulkan/texture2d_backend.cpp b/source/backends/vulkan/texture2d_backend.cpp new file mode 100644 index 00000000..a80e1f94 --- /dev/null +++ b/source/backends/vulkan/texture2d_backend.cpp @@ -0,0 +1,33 @@ +#include "texture2d_backend.h" +#include "vulkan.h" + +using namespace std; + +namespace Msp { +namespace GL { + +VulkanTexture2D::VulkanTexture2D(): + Texture(VK_IMAGE_VIEW_TYPE_2D) +{ } + +void VulkanTexture2D::sub_image(unsigned, int, int, unsigned, unsigned, const void *) +{ + throw logic_error("Texture2D::sub_image is unimplemented"); +} + +Resource::AsyncLoader *VulkanTexture2D::load(IO::Seekable &, const Resources *) +{ + throw logic_error("Texture2D::load is unimplemented"); +} + +uint64_t VulkanTexture2D::get_data_size() const +{ + return 0; +} + +void VulkanTexture2D::unload() +{ +} + +} // namespace GL +} // namespace Msp