mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Cannot cache vertices when morph is enabled.
This commit is contained in:
parent
e15b580df6
commit
3b8ea62b05
1 changed files with 2 additions and 1 deletions
|
@ -844,7 +844,8 @@ void TransformDrawEngine::Flush() {
|
|||
GLuint vbo = 0, ebo = 0;
|
||||
int vertexCount = 0;
|
||||
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();
|
||||
auto iter = vai_.find(id);
|
||||
VertexArrayInfo *vai;
|
||||
|
|
Loading…
Add table
Reference in a new issue