blob: 665b13d99a62dbd6f8adc7cb4e746dea4f069130 [file]
/*
* 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