summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html/en/guide.html4
-rw-r--r--mak.vc9/im_view.vcproj4
2 files changed, 7 insertions, 1 deletions
diff --git a/html/en/guide.html b/html/en/guide.html
index d174f9a..4404462 100644
--- a/html/en/guide.html
+++ b/html/en/guide.html
@@ -214,7 +214,9 @@ glDrawPixels(image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, (GLvoi
imConvertMapToRGB(gl_data, width*height, depth, packed, palette, palette_count);
}</pre>
- <p>If you just want to save your OpenGL buffer then you can use:</p>
+ <p>If you are using the <strong>imImage</strong> structure then you can
+ instead use the function <strong>imImageGetOpenGLData</strong>.</p>
+<p>If you just want to save your OpenGL buffer then you can use:</p>
<pre>glPixelStorei(GL_PACK_ALIGNMENT, 1); /* data alignment must be 1 */
glReadPixels(x, y, width, height, GL_RGB, GL_UNSIGNED_BYTE, (GLvoid*)gl_data);
diff --git a/mak.vc9/im_view.vcproj b/mak.vc9/im_view.vcproj
index 4881ad3..64a71e6 100644
--- a/mak.vc9/im_view.vcproj
+++ b/mak.vc9/im_view.vcproj
@@ -106,6 +106,10 @@
RelativePath="..\test\im_view.c"
>
</File>
+ <File
+ RelativePath="..\..\..\Downloads\_Tecgraf\image.cpp"
+ >
+ </File>
</Filter>
</Files>
<Globals>