mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Merge pull request #653 from mogemimi/add-missing-switch-case
[cocos2d-x] Add missing switch case
This commit is contained in:
commit
b7ba9f0bbf
@ -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