From 2de117b3d1c75c057475be90cadf629147957be5 Mon Sep 17 00:00:00 2001 From: pieniacy Date: Fri, 4 Dec 2020 16:44:08 +0100 Subject: [PATCH] Updated Image Loading and Displaying Examples (markdown) --- Image-Loading-and-Displaying-Examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Image-Loading-and-Displaying-Examples.md b/Image-Loading-and-Displaying-Examples.md index 592ec91..849aabe 100644 --- a/Image-Loading-and-Displaying-Examples.md +++ b/Image-Loading-and-Displaying-Examples.md @@ -132,7 +132,7 @@ bool LoadTextureFromFile(const char* filename, GLuint* out_texture, int* out_wid } ``` -At initialization time, load our texture: +Load our texture after initializing OpenGL loader (for example after `glewInit()`): ```cpp int my_image_width = 0; int my_image_height = 0;