1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

LibSoftGPU: Make ownership_token type in Image consistent

This is now the same as defined in `GPU::Image`.
This commit is contained in:
Jelle Raaijmakers 2022-08-23 14:33:21 +02:00 committed by Andreas Kling
parent 3279c25553
commit 73f7f4656c
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ namespace SoftGPU {
class Image final : public GPU::Image {
public:
Image(void* const ownership_token, unsigned width, unsigned height, unsigned depth, unsigned max_levels, unsigned layers);
Image(void const* ownership_token, unsigned width, unsigned height, unsigned depth, unsigned max_levels, unsigned layers);
unsigned level_width(unsigned level) const { return m_mipmap_buffers[level]->width(); }
unsigned level_height(unsigned level) const { return m_mipmap_buffers[level]->height(); }