]> git.tdb.fi Git - libs/gl.git/blob - source/backends/vulkan/swapchaintexture.cpp
Support multiple PipelineStates in Renderer
[libs/gl.git] / source / backends / vulkan / swapchaintexture.cpp
1 #include "swapchaintexture.h"
2
3 namespace Msp {
4 namespace GL {
5
6 SwapChainTexture::SwapChainTexture(PixelFormat f, unsigned w, unsigned h, VkImage i)
7 {
8         handle = i;
9         storage(f, w, h, 1);
10 }
11
12 SwapChainTexture::~SwapChainTexture()
13 {
14         handle = 0;
15 }
16
17 } // namespace GL
18 } // namespace Msp