Ubuntu 6.06 with PB

Linux specific forum
MacGyver
New User
New User
Posts: 3
Joined: Fri Apr 01, 2005 8:10 am

Ubuntu 6.06 with PB

Post by MacGyver »

Hello
i have Problems with the openwindowedscreen .
I have bad lags .
In the Compiler settings is opengl in use .
Otherwise the screen do not open .
Sorry fpr my bad English .
Here is the code .

Code: Select all

InitKeyboard()
InitMouse()
InitSprite()
UsePNGImageDecoder()
OpenWindow(0,0,0,800,600,"Pong Menü",#PB_Window_ScreenCentered | #PB_Window_BorderLess) 
OpenWindowedScreen(WindowID(0),0,0,800,600,1,0,0)
;OpenScreen(800,600,16,"TEST")
UsePNGImageDecoder()
Enumeration
#_bild
EndEnumeration
LoadSprite(#_bild ,"mouse.PNG",#PB_Any)
Repeat

ClearScreen(RGB(0,0,0))

ExamineKeyboard()
ExamineMouse()
mx    =  MouseX()
my    =  MouseY()
DisplaySprite(#_bild,mx,my)
FlipBuffers()
Until KeyboardPushed(#PB_Key_Escape)
I hope you can help me .
Greet's MacGyver
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 576
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Post by bembulak »

Works great here on Mandriva 2006, Kernel 2.16, Gnome 2.10
Even with the OGL switched on - I do not see any difference.

Sorry.
cheers,

bembulak
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

What ghraphics crad do you have, maybe the driver isn't correctly installed.
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

What does "glxinfo" say ?
Direct rendering: YES ?
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
MacGyver
New User
New User
Posts: 3
Joined: Fri Apr 01, 2005 8:10 am

Post by MacGyver »

Card is correct installet
ATI Radeon 9200 Mobile .
Direct rendering : Yes
Post Reply