mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:17:35 +00:00
LibGL+LibGPU+LibSoftGPU: Move ImageFormat.h to LibGPU
This commit is contained in:
parent
24d420312c
commit
4e0643ae97
8 changed files with 172 additions and 172 deletions
|
@ -1219,9 +1219,9 @@ DepthType Device::get_depthbuffer_value(int x, int y)
|
|||
return m_frame_buffer->depth_buffer()->scanline(y)[x];
|
||||
}
|
||||
|
||||
NonnullRefPtr<Image> Device::create_image(ImageFormat format, unsigned width, unsigned height, unsigned depth, unsigned levels, unsigned layers)
|
||||
NonnullRefPtr<Image> Device::create_image(GPU::ImageFormat format, unsigned width, unsigned height, unsigned depth, unsigned levels, unsigned layers)
|
||||
{
|
||||
VERIFY(format == ImageFormat::BGRA8888);
|
||||
VERIFY(format == GPU::ImageFormat::BGRA8888);
|
||||
VERIFY(width > 0);
|
||||
VERIFY(height > 0);
|
||||
VERIFY(depth > 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue