mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[cocos2d-x] Add missing switch case
This commit is contained in:
parent
83d0adf6dd
commit
aca157afda
@ -40,6 +40,8 @@ GLuint wrap (spAtlasWrap wrap) {
|
||||
|
||||
GLuint filter (spAtlasFilter filter) {
|
||||
switch (filter) {
|
||||
case SP_ATLAS_UNKNOWN_FILTER:
|
||||
break;
|
||||
case SP_ATLAS_NEAREST:
|
||||
return GL_NEAREST;
|
||||
case SP_ATLAS_LINEAR:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user