mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 12:17:49 +00:00
maxwell_3d: Partially implement texture buffers as 1D textures
This commit is contained in:
parent
8f28295b4d
commit
91b16d383a
4 changed files with 24 additions and 10 deletions
|
@ -140,7 +140,7 @@ std::size_t SurfaceParams::InnerMemorySize(bool force_gl, bool layer_only,
|
|||
|
||||
params.width = Common::AlignUp(config.tic.Width(), GetCompressionFactor(params.pixel_format));
|
||||
params.height = Common::AlignUp(config.tic.Height(), GetCompressionFactor(params.pixel_format));
|
||||
if (!params.is_tiled) {
|
||||
if (config.tic.IsLineal()) {
|
||||
params.pitch = config.tic.Pitch();
|
||||
}
|
||||
params.unaligned_height = config.tic.Height();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue