summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorscuri <scuri>2009-08-19 16:33:03 +0000
committerscuri <scuri>2009-08-19 16:33:03 +0000
commit11b9733af55c2e4f08317a65ec2a7acfaf849871 (patch)
tree77150bcf4a13047cdfab1df3fd6c508f4247ba8f /html
parent6424146a36fefa89e73d98c07846e09a69159aa1 (diff)
*** empty log message ***
Diffstat (limited to 'html')
-rw-r--r--html/en/guide.html4
1 files changed, 3 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-&gt;width, image-&gt;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);