mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-02 05:39:07 +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) {
|
GLuint filter (spAtlasFilter filter) {
|
||||||
switch (filter) {
|
switch (filter) {
|
||||||
|
case SP_ATLAS_UNKNOWN_FILTER:
|
||||||
|
break;
|
||||||
case SP_ATLAS_NEAREST:
|
case SP_ATLAS_NEAREST:
|
||||||
return GL_NEAREST;
|
return GL_NEAREST;
|
||||||
case SP_ATLAS_LINEAR:
|
case SP_ATLAS_LINEAR:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user