| |
|
|
 | 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 |
|
|
| |
|
|
|
 | 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 |
|
|
| |
|
|
|
 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 | 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....  |
|
|
| |
|
|