YuTao - 

I have cleaned up mdemo.c for your debugging the
PSP port.  I have attached the new version from git.
It defaults to the older 3d graph demo, with timer.
This is set with:
#define GRAPH3D 1

If PSP has floating point, it should run as-is.

If it doesn't work, change the following:

#define TIMERDEMO    0

This will turn off the timer support.  This may be
our PSP port problem.




You can also go back to the original mdemo.c
showing win32 controls by doing:

#define GRAPH3D    0
#define CONTROLS   1

Then try running this with TIMERDEMO set to 0.
(this should work)

Then try running this with TIMEREMO set to 1.
If this fails, we know it's in the timer code,
which is in:

src/mwin/winmain.c::MsSelect()

Depending on which modes mdemo works or
fails, we should know the problem.  Since
nxclock doesn't update, it could be timer.

Regards,

Greg


Attachment: mdemo.c
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to