English
Forum

OGL-Window Pic than Save...memory müllt fully.

 
for these request would like I the Profancode time bring into action, whether it functions.
the OGL-Window is 128x128 Pixel.

proc oglzubmp
ogl(glReadPixels,0,0,128,128,~GL_BGRA,~GL_UNSIGN ED_BYTE,ogl_rgb#)
~setDIBits(%hdc,bild_auto_h&,0,128,ogl_rgb#,bmi#,0 )
endproc

with Profancode whom OGL-Screen loading :

handle&=create(hPic,0,&OGLBMP )
deleteobject handle&

here becomes somehow the memory vollgemüllt. the The Error Message comes: OGL-Image can't stored go !
The routine becomes Yes each Lenken called and the Ogl-Window zwischengespeichert Pic than.
have The Profanroutine simply time so reingesetzt, without The Bilddaten auszuwerten.
How becomes then the memory released?

proc oglzubmp
handle&=create(hPic,0,&OGLBMP )
deleteobject handle&

ogl(glReadPixels,0,0,128,128,~GL_BGRA,~GL_UNSIGN ED_BYTE,ogl_rgb#)
~setDIBits(%hdc,bild_auto_h&,0,128,ogl_rgb#,bmi#,0 )
endproc
 
02/25/09  
 



Ungetestet but [...]  would here already sense make I now z.B. uncertain be whether You do not vlt. just forget have ogl_rgb# or bmi# correctly To deal.

soar the Speicherverbrauch too with this code?
CompileMarkSeparation
 
02/25/09  
 




RGH
Hm ... have I the same Posting not already time in another Forum ( [...]  ) red? This will Yes jolly, if Threads on thousand different Forums zoned go ... ;) there can itself Yes none decide where one answer ...

BTW: without ablauffähges Beispielprogramm, that your trouble nachvollziehbar power, becomes one you hardly Answer can.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/25/09  
 




Thomas
Freier
Roland, is still not new. lastly: [...]  and [...]  . with XProfan faith I are it z.Z. still first three Forums.
 
Gruß Thomas
Windows XP SP2, XProfan X2
02/26/09  
 



RGH
This will Yes jolly, if Threads on thousand different Forums zoned go ... ;)


the can but too with Posts!

Sag time, you haven't been about already long ago z.B. on [...]  or [...]  möglicherweise integrally where differently answered*?

*) No, I have not yet herausbekommen, on which ask it blanket no response gives - there missing me well one GEN (or so). ought to it one pattern his, which I discern should, so remaining me only circa clemency To requests.
 
02/26/09  
 




RGH
Hehe, your first Link viewing I as a suggestion for eione coming XProfan-Version, the me first then interested, if I these in forward line take and at second missing it me erklärendem Text, circa what it there goes (there Videos here on the job a problem present). under Onlinecompiler to that Download can I me quite little present. Perhaps can You it there (not here!) Yes once more explain.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/26/09  
 



there can itself Yes none decide where one answer ...

I thought you were too abgewandert....
 
02/27/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.109 Views

Untitledvor 0 min.
Tommy08/10/16
H.Brill06/23/15
macuto11/25/12
funkheld03/31/12
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie