mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47: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:
parent
3279c25553
commit
73f7f4656c
2 changed files with 2 additions and 2 deletions
|
@ -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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue