GIDForums  

Go Back   GIDForums > Computer Programming Forums > CPP / C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 06-Nov-2005, 18:41
Error's Avatar
Error Error is offline
Junior Member
 
Join Date: May 2005
Posts: 42
Error is on a distinguished road

DirectX flicker


I have recently written a DirectX 8 program from a tutorial that shows a bitmap at full screen. However, when the program runs, there is a lot of screen flicker. I have the monitor color mode set at 32 bits, the same as the program. Does anone know of a way to fix the flicker?
  #2  
Old 06-Nov-2005, 18:47
Paramesh's Avatar
Paramesh Paramesh is offline
Regular Member
 
Join Date: Sep 2005
Location: The Milky Way
Posts: 922
Paramesh is a jewel in the roughParamesh is a jewel in the roughParamesh is a jewel in the rough

Re: DirectX flicker


Did you turn on Double buffering?
__________________

Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend.
  #3  
Old 06-Nov-2005, 18:57
Error's Avatar
Error Error is offline
Junior Member
 
Join Date: May 2005
Posts: 42
Error is on a distinguished road

Re: DirectX flicker


Yes. I load the bitmap and a surface for it into a back buffer and then use the GetBackBuffer() and Present() methods to load and view it.
  #4  
Old 06-Nov-2005, 19:21
Paramesh's Avatar
Paramesh Paramesh is offline
Regular Member
 
Join Date: Sep 2005
Location: The Milky Way
Posts: 922
Paramesh is a jewel in the roughParamesh is a jewel in the roughParamesh is a jewel in the rough

Re: DirectX flicker


Try running sample directx applications that come when you install directx 8 API.
If they run correctly without any flicker, then you can say that the problem is not with your graphics card.

Look at the directx program sample and compare it with your program. see that if you left anything.

This could help sometimes.
and tell whether the flicker still comes.
try posting your sample code.

Regards,
Paramesh.
__________________

Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend.
 
 

Recent GIDBlog2nd Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disect DirectX window lobbin MS Visual C++ / MFC Forum 0 29-Sep-2005 09:07
Creating an ATL ActiveX control that uses DirectX 8 WillyWonka MS Visual C++ / MFC Forum 0 10-Jun-2005 11:39
books on c++ & directx enggwaqas CPP / C++ Forum 0 24-Jan-2005 04:15

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:26.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.