Browse Source
Merge pull request #4389 from ogniK5377/redundant-format-type
video_core: Remove redundant pixel format type
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
src/video_core/texture_cache/surface_params.cpp
|
|
|
@ -96,7 +96,6 @@ SurfaceParams SurfaceParams::CreateForTexture(const FormatLookupTable& lookup_ta |
|
|
|
} |
|
|
|
params.type = GetFormatType(params.pixel_format); |
|
|
|
} |
|
|
|
params.type = GetFormatType(params.pixel_format); |
|
|
|
// TODO: on 1DBuffer we should use the tic info.
|
|
|
|
if (tic.IsBuffer()) { |
|
|
|
params.target = SurfaceTarget::TextureBuffer; |
|
|
|
|