mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-13 10:24:39 +00:00
Cannot cache vertices when morph is enabled.
This commit is contained in:
parent
e15b580df6
commit
3b8ea62b05
@ -844,7 +844,8 @@ void TransformDrawEngine::Flush() {
|
|||||||
GLuint vbo = 0, ebo = 0;
|
GLuint vbo = 0, ebo = 0;
|
||||||
int vertexCount = 0;
|
int vertexCount = 0;
|
||||||
bool useElements = true;
|
bool useElements = true;
|
||||||
if (g_Config.bVertexCache) {
|
// Cannot cache vertex data with morph enabled.
|
||||||
|
if (g_Config.bVertexCache && !(lastVType_ & GE_VTYPE_MORPHCOUNT_MASK)) {
|
||||||
u32 id = ComputeFastDCID();
|
u32 id = ComputeFastDCID();
|
||||||
auto iter = vai_.find(id);
|
auto iter = vai_.find(id);
|
||||||
VertexArrayInfo *vai;
|
VertexArrayInfo *vai;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user