MrLoick / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

Access Violation when Loading PNG Textures on the Lastest Version of ZenDX #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
on ZenGL it is working! The problem only happens on ZenDX

Call Stack Information:
--------------------------------------------------------------------------------
--------
|Address |Module             |Unit               |Class|Procedure/Method       
|Line   |
--------------------------------------------------------------------------------
--------
|*Exception Thread: ID=5280; Priority=0; Class=; [Main]                         
       |
|-------------------------------------------------------------------------------
-------|
|0040309C|DreamsOfaGeisha.exe|GETMEM.INC         |     |SysFreeMem             
|2276[1]|
|00404244|DreamsOfaGeisha.exe|System.pas         |     |_FreeMem               
|3030[6]|
|00404240|DreamsOfaGeisha.exe|System.pas         |     |_FreeMem               
|3025[1]|
|004C15B4|DreamsOfaGeisha.exe|zgl_textures.pas   |     |tex_LoadFromFile       
|289[46]|
|004C1370|DreamsOfaGeisha.exe|zgl_textures.pas   |     |tex_LoadFromFile       
|243[0] |
|006120E7|DreamsOfaGeisha.exe|Game_Main.pas      |TGame|Comeca                 
|1210[4]|
|00612088|DreamsOfaGeisha.exe|Game_Main.pas      |TGame|Comeca                 
|1206[0]|
|0061AE70|DreamsOfaGeisha.exe|DreamsOfaGeisha.dpr|     |                       
|140[0] |
|004BB465|DreamsOfaGeisha.exe|zgl_application.pas|     |app_Init               
|125[3] |
|004C95A1|DreamsOfaGeisha.exe|zgl_main.pas       |     |zgl_Init               
|191[20]|
|004C94E4|DreamsOfaGeisha.exe|zgl_main.pas       |     |zgl_Init               
|171[0] |
|00623888|DreamsOfaGeisha.exe|DreamsOfaGeisha.dpr|     |                       
|342[92]|
|764533C8|kernel32.dll       |                   |     
|GetEnvironmentVariableA|       |
--------------------------------------------------------------------------------
--------

Original issue reported on code.google.com by ce...@wagenheimer.com on 6 Jul 2011 at 1:02

GoogleCodeExporter commented 8 years ago
There is something wrong with zgl_texture_atlas.pas also.

Compiling /Developer/ZenGL/src/zgl_texture_atlas.pas
zgl_texture_atlas.pas(288,55) Error: Wrong number of parameters specified for 
call to "<Procedure Variable>"
zgl_texture_atlas.pas(296,18) Warning: Local variable "w" does not seem to be 
initialized
zgl_texture_atlas.pas(297,18) Warning: Local variable "h" does not seem to be 
initialized
zgl_texture_atlas.pas(303,7) Error: identifier idents no member "Format"
zgl_texture_atlas.pas(306,10) Error: identifier idents no member "Format"
zgl_texture_atlas.pas(306,35) Error: Identifier not found "TEX_FORMAT_RGBA"
zgl_texture_atlas.pas(338,52) Error: Wrong number of parameters specified for 
call to "<Procedure Variable>"
zgl_texture_atlas.pas(346,18) Warning: Local variable "w" does not seem to be 
initialized
zgl_texture_atlas.pas(347,18) Warning: Local variable "h" does not seem to be 
initialized
zgl_texture_atlas.pas(353,7) Error: identifier idents no member "Format"
zgl_texture_atlas.pas(356,10) Error: identifier idents no member "Format"
zgl_texture_atlas.pas(356,35) Error: Identifier not found "TEX_FORMAT_RGBA"
zgl_texture_atlas.pas(388) Fatal: There were 8 errors compiling module, stopping

Original comment by wagenhei...@gmail.com on 6 Jul 2011 at 2:40

GoogleCodeExporter commented 8 years ago
>> There is something wrong with zgl_texture_atlas.pas also.
Update your svn local repository correctly, there is no problem with it.

>> Access Violation when Loading PNG Textures
Fixed, but problem was not in PNG loader

Original comment by dr.andru@gmail.com on 6 Jul 2011 at 5:46

GoogleCodeExporter commented 8 years ago

Original comment by dr.andru@gmail.com on 6 Jul 2011 at 5:46