Skip to content

Commit 257dbc0

Browse files
authored
Merge pull request #35 from FireflyInTheDusk/patch-1
Fix Tringle typo
2 parents d9425e4 + d467a06 commit 257dbc0

File tree

1 file changed

+2
-2
lines changed
  • blog/2024/2024-11-01-my-screen-is-black

1 file changed

+2
-2
lines changed

blog/2024/2024-11-01-my-screen-is-black/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Potentially you might not have set the vertex count variable and that contains a
8080
- fucked uvs
8181
- you might be sampling from a corner of your texture where its actually black, check uvs
8282

83-
### Your Tringle is black
83+
### Your Triangle is black
8484

8585
- smells like your vao is fucked. make sure you setup the attributes (and stride when binding le vbo using DSA)
8686
- fucked uvs?
@@ -137,4 +137,4 @@ Did you generate mipmaps?
137137

138138
- check your depth buffer, near and far planes... try near 0.1f and 512/1024 as farplane
139139
- your depth buffer might be too small and is set to D16 only, set it to something D24 or D32
140-
- you use SDL2 and on your platform the default might be set to D16, find the SDL2_GL_Set_Attribute which sets the depth bits for the default fbo
140+
- you use SDL2 and on your platform the default might be set to D16, find the SDL2_GL_Set_Attribute which sets the depth bits for the default fbo

0 commit comments

Comments
 (0)