diff options
author | Stephan Unverwerth <s.unverwerth@serenityos.org> | 2022-03-15 13:26:31 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-06 11:32:24 +0200 |
commit | 54307a9cd33b60bbfb223a44078d3931bc7a232d (patch) | |
tree | cdada5b8e1b47c7373aaa1ed2735be9652e641cc /Userland/Libraries/LibGL | |
parent | 4e0643ae9785cb2ee6851344460a903ef948cb38 (diff) | |
download | serenity-54307a9cd33b60bbfb223a44078d3931bc7a232d.zip |
LibGL+LibGPU+LibSoftGPU: Move ImageDataLayout.h to LibGPU
Diffstat (limited to 'Userland/Libraries/LibGL')
-rw-r--r-- | Userland/Libraries/LibGL/Tex/Texture2D.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGL/Tex/Texture2D.cpp b/Userland/Libraries/LibGL/Tex/Texture2D.cpp index 662a938bf1..061cbe9090 100644 --- a/Userland/Libraries/LibGL/Tex/Texture2D.cpp +++ b/Userland/Libraries/LibGL/Tex/Texture2D.cpp @@ -60,7 +60,7 @@ void Texture2D::replace_sub_texture_data(GLuint lod, GLint xoffset, GLint yoffse int const physical_width = pixels_per_row > 0 ? pixels_per_row : width; size_t const physical_width_bytes = physical_width * pixel_size_bytes; - SoftGPU::ImageDataLayout layout; + GPU::ImageDataLayout layout; layout.column_stride = pixel_size_bytes; layout.row_stride = physical_width_bytes + (byte_alignment - physical_width_bytes % byte_alignment) % byte_alignment; layout.depth_stride = 0; |