summaryrefslogtreecommitdiff
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
parent6424146a36fefa89e73d98c07846e09a69159aa1 (diff)
*** empty log message ***
-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-&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);
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>