OpenGL [Episode 34] GL_FLOAT enum vs GLfloat type bug fix

Опубликовано: 24 Май 2024
на канале: Mike Shah
567
41

►Full OpenGL Series Playlist:    • Introduction to OpenGL  
►Find full courses on: https://courses.mshah.io/
►Join as member to get perks:    / @mikeshah  

►Lesson Description: In this lesson I show go back and do a few bug fixes on our original code, as I had made a mistake with the GLenum versus the OpenGL type. We tend to use the OpenGL types because on the platform they will be set to the right number of bytes. On occasion, we get lucky that the 'enum size' (which is an integer) matches the type, and we'll want to correct those bugs to be 100% certain our code works. Finally we'll add the ability to 'escape' from SDL with the escape key, just as a little quality of life improvement. As always, feel free to join the discussion!

►Please like and subscribe to help the channel!
►YouTube Channel:    / mikeshah  
►Join our free community: https://courses.mshah.io/communities/...


Смотрите видео OpenGL [Episode 34] GL_FLOAT enum vs GLfloat type bug fix онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Mike Shah 24 Май 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 567 раз и оно понравилось 41 посетителям.