ios opengles sample texture error (use stb_image)while android is ok #1313
-
Beta Was this translation helpful? Give feedback.
Answered by
zhangbaochong
Mar 24, 2022
Replies: 2 comments 7 replies
-
the last image does not look like it's the same image as the first two. are you sure it is? |
Beta Was this translation helpful? Give feedback.
7 replies
-
The issue is that GLKView not set depth buffer, just add one line code : |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zhangbaochong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue is that GLKView not set depth buffer, just add one line code :
view.drawableDepthFormat = GLKViewDrawableDepthFormat24;