Qbasicnews.com

Full Version: Test the fix for fullscreen crashing here
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Try this FreeBASIC program on your computer:
Code:
screen 320, 200, 8, 1
a = point(0, 0)
pset (0, 0), 15
flip
do: sleep 50: loop until len(inkey$)
If it crashes:
1. Rename or delete the libfbgfx.a that came with FB - should be in the freeBASIC\lib folder
2. Download libfbgfx.a, its replacement
3. Try the above program again and tell me if it still crashes

EDIT: Updated the file to include a similar fix for POINT.
yo his code still won't run the error with in POINT
if you rem out POINT in his code the program runs with out crashing.

oh ya next version alow for some kind of call to the backbuffer so it can return a pointer for the SDL_surface. i was going to write a work around but the best i can do it grab the main vedio surface which would suck
Ok, I'll look at POINT. EDIT: Ok, POINT has a bug similar to PSETs. I looked over all the rest of the code, and it looks like it's only in those two.

Quote:oh ya next version alow for some kind of call to the backbuffer so it can return a pointer for the SDL_surface. i was going to write a work around but the best i can do it grab the main vedio surface which would suck
What's the difference between the 2 things I bolded? Are they the same thing? It would simply be a wrapper around SDL_GetVideoSurface anyway...
oh though you might had multiable surface thing going on. to be honest haven't used QBGFX haven't needed to SDL just easyer to use at this point.