mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Use the universally supported Vulkan "565" 16-bit texture format
Previously mistakenly used the BGR format instead of the RGB. Probably won't make much of a difference for anything, but may affect #17881 if my theory about it is correct. Also minor cleanups.
This commit is contained in:
1 parent
7762ccdd4a
commit
f2da5dafd1
5 files changed
+6
-14
No files matched your search
@@ -388,11 +388,6 @@ void DrawEngineVulkan::DoFlush() {
|
||||
gstate_c.vertexFullAlpha = gstate_c.vertexFullAlpha && ((hasColor && (gstate.materialupdate & 1)) || gstate.getMaterialAmbientA() == 255) && (!gstate.isLightingEnabled() || gstate.getAmbientA() == 255);
|
||||
}
|
||||
|
||||
int vcount = indexGen.VertexCount();
|
||||
if (numDecodedVerts_ > 10 * vcount) {
|
||||
decIndex_ = decIndex_;
|
||||
}
|
||||
|
||||
gpuStats.numUncachedVertsDrawn += indexGen.VertexCount();
|
||||
prim = indexGen.Prim();
|
||||
// Undo the strip optimization, not supported by the SW code yet.
|
||||
|
||||
Reference in new issue
Block a user