Okay, before you start flaming me, I read the forum posts and searched for a similar problem but didn't find it.
I'm using windows xp, and made a simple screensaver, a photocube both the program and picture are in the same directory, now when I got to screensaver and preview the screen goes full, blank, then out and i get the 'memory access violation' error message.
Here's the code.
I compiled it without debug enabled, tried taking out the freetexture line, also tried it in 800,600 all modes which are supported on my card, i can use up to 1440, 900.
Thanks!
I'm using windows xp, and made a simple screensaver, a photocube both the program and picture are in the same directory, now when I got to screensaver and preview the screen goes full, blank, then out and i get the 'memory access violation' error message.
Here's the code.
;my first screensaver ;Richard Colletta 2004 Graphics3D 640, 480 SetBuffer BackBuffer() light=CreateLight() AmbientLight 0, 0, 0 camera=CreateCamera() CameraViewport camera,0,0,800,600 Global cube = CreateCube() cubemap = LoadTexture("robo.jpg",8) EntityTexture cube, cubemap FreeTexture cubemap PositionEntity cube, 0,0,5 Repeat TurnEntity cube, 0.4,0.5,0.6 RenderWorld Flip Until MouseX() <> 0 Or MouseY() <> 0 Or GetKey() <> 0 Or GetMouse() <> 0 End
I compiled it without debug enabled, tried taking out the freetexture line, also tried it in 800,600 all modes which are supported on my card, i can use up to 1440, 900.
Thanks!