Examples: OpenGL3: Minor tweaks, clarifications + not calling glBindBuffer more than necessary in the render loop.

This commit is contained in:
omar
2019-03-29 16:17:04 +01:00
parent 9a0e71a6ec
commit 512d39d031
5 changed files with 32 additions and 26 deletions

View File

@ -154,7 +154,7 @@ bool ImGui_ImplAllegro5_CreateDeviceObjects()
{
// Build texture atlas
ImGuiIO &io = ImGui::GetIO();
unsigned char *pixels;
unsigned char* pixels;
int width, height;
io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height);