blob: 36076a8a4c12920726083a3c20f65ed7536b7f18 [file] [log] [blame] [edit]
/*
* Copyright 2022 Rive
*/
#include "rive/renderer/rive_render_image.hpp"
namespace rive::gpu
{
Texture::Texture(uint32_t width, uint32_t height) :
m_width(width), m_height(height)
{
static std::atomic_uint32_t textureResourceHashCounter = 0;
m_textureResourceHash = ++textureResourceHashCounter;
}
} // namespace rive::gpu