Hi,

This is probably just a documentation error but I am currently rewriting
the DirectX graphics driver and have noticed an inconsistency when
specifying capabilities.

I have GFX_CAPABILITY_COLOR_MOUSE_POINTER specified and gfx_driver.h
implies (but does not explicitly state) that in this case,
GFX_CAPABILITY_PIXMAP_GRABBING is not necessary.

I assume this is incorrect as the following occurs when running (sorry 
about the wrapping):
---
GFX Error: d:\src\freesci\src\gfx\operations.c, L135:Attempt to grab
pixmap even though driver does not support pixmap grabbing!GFX Error:
d:\src\freesci\src\gfx\operations.c, L1498:Drawing the mouse pointer failed!
ERROR: GFX subsystem fatal error condition on
"gfxop_set_pointer_cursor(s->gfx_state, s->mouse_pointer_nr)"!
Fatal VM error in d:\src\freesci\src\engine\kgraphics.c, L288; aborting...
Could not recover, exitting...
---

Is GFX_CAPABILITY_PIXMAP_GRABBING always necessary? Dumb question: What
is its purpose?

Also, what does GFX_CAPABILITY_SHADING and the following struct mean?

typedef enum {
        GFX_SHADE_FLAT, /* Don't shade */
        GFX_SHADE_VERTICALLY, /* Shade vertically */
        GFX_SHADE_HORIZONTALLY /* Shade horizontally */
} gfx_rectangle_fill_t;

Thanks, Alex.





Reply via email to