mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 10:25:45 +00:00
gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush.
This commit is contained in:
parent
a205f5a4df
commit
898c5576b5
1 changed files with 0 additions and 1 deletions
|
@ -937,7 +937,6 @@ void CachedSurface::FlushGLBuffer() {
|
|||
if (params.target == SurfaceParams::SurfaceTarget::Texture2D) {
|
||||
// TODO(Blinkhawk): Eliminate this condition once all texture types are implemented.
|
||||
depth = 1U;
|
||||
block_depth = 1U;
|
||||
}
|
||||
gl_to_morton_fns[static_cast<size_t>(params.pixel_format)](
|
||||
params.width, params.block_height, params.height, block_depth, depth, gl_buffer.data(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue