diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-08-10 13:39:20 -0400 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-09-04 18:36:56 -0700 |
| commit | a8e591dc73fc3b35f888690879673ba0250bda68 (patch) | |
| tree | 3986efc1a6c361c44d33bb05b4206fa62040c688 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 9438a30384c9f7160662b70fe4bd11eca1475a6f (diff) | |
VideoCommon: Remove support for decoding to ARGB textures
The D3D / OGL backends only ever used RGBA textures, and the Software
backend uses its own custom code for sampling. The ARGB path seems to
just be dead code.
Since ARGB and RGBA formats are similar, I don't think this will make
the code more difficult to read or unable to be used as
reference. Somebody who wants to use this code to output ARGB can simply
modify the MakeRGBA function to put the shift at the other end.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index d6e2177b6b..8fd7a9efbb 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -36,7 +36,6 @@ VideoConfig::VideoConfig() // disable all features by default backend_info.APIType = API_NONE; - backend_info.bUseRGBATextures = false; backend_info.bUseMinimalMipCount = false; backend_info.bSupportsExclusiveFullscreen = false; } |
