freesci-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [freesci-develop] Testing graphics drawn by FreeSCI drivers


From: Alex Angas
Subject: RE: [freesci-develop] Testing graphics drawn by FreeSCI drivers
Date: Tue, 22 Jan 2008 19:32:24 -0000

Thanks. This wasn't set up to compile under Visual Studio so I've done that
now. When executing however I get a crash as follows because *mgr isn't
initialised:

fsci.dll!scir_test_resource(resource_mgr_t * mgr=0x00000000, int type=0, int
number=0)  Line 532 + 0xc bytes
fsci.dll!gfxr_interpreter_get_resources(gfx_resstate_t * state=0x003f1868,
gfx_resource_types_t type=GFX_RESOURCE_TYPE_VIEW, int version=0, int *
entries_nr=0x0012fccc, void * internal=0x00000000)  Line 224 + 0x11 bytes
fsci.dll!gfxr_new_resource_manager(int version=0, _gfx_options *
options=0x0040d220, _gfx_driver * driver=0x10112158, void *
misc_payload=0x00000000)  Line 62 + 0x19 bytes
fsci.dll!_gfxop_init_common(gfx_state_t * state=0x0040d180, _gfx_options *
options=0x0040d220, void * misc_payload=0x00000000)  Line 597 + 0x1d bytes
fsci.dll!gfxop_init(gfx_state_t * state=0x0040d180, int xfact=1, int
yfact=1, gfx_color_mode_t bpp=GFX_COLOR_MODE_INDEX, _gfx_options *
options=0x0040d220, void * misc_info=0x00000000)  Line 671 + 0x11 bytes
gfx_test.exe!init_driver(_gfx_driver * drv=0x10112158)  Line 170 + 0x28
bytes
gfx_test.exe!main(int argc=4, char * * argv=0x003f3f50)  Line 1245 + 0x9
bytes

I've done some comparison to how the main FreeSCI program starts up and they
appear to follow the same paths regarding init of the gfx_state_t structure
and state->misc_payload (which is passed through as the first parameter to
scir_test_resource). Is there something that jumps out that I should look
into as to why state->misc_payload is zero when it's passed through? Just a
note that I'm using stable.

Thanks for your help,

Alex.


-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Christoph Reichenbach
Sent: 22 January 2008 14:24
To: FreeSCI development mailing list
Subject: Re: [freesci-develop] Testing graphics drawn by FreeSCI drivers

Alex,

On Tue, Jan 22, 2008 at 02:13:51PM -0000, Alex Angas wrote:
> I'm attempting to pinpoint which parts of the DirectX driver aren't
drawing
> correctly. I was wondering if anyone had a test game that puts the
graphics
> engine through its paces or can suggest another way of doing this?

  Try

  src/gfx/gfx_test.c


-- Christoph


_______________________________________________
FreeSCI-develop mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freesci-develop





reply via email to

[Prev in Thread] Current Thread [Next in Thread]