Commit 31defcb
committed
Fix crash on startup due to uninitialized background texture ID
- Manually assigned OpenGL texture ID to backgroundImage in initTextures().
- Registered the texture with OpenGL via setTextureLookup(), as done for other manual textures.
- Resolves assertion failure in getId() when background image was enabled.1 parent 053dd05 commit 31defcb
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
260 | 267 | | |
261 | 268 | | |
262 | 269 | | |
| |||
0 commit comments