Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help me to implement it. Pin
Le@rner15-Oct-10 3:00
Le@rner15-Oct-10 3:00 
GeneralRe: Help me to implement it. Pin
David Crow15-Oct-10 4:02
David Crow15-Oct-10 4:02 
GeneralRe: Help me to implement it. Pin
Le@rner15-Oct-10 18:16
Le@rner15-Oct-10 18:16 
AnswerRe: Help me to implement it. Pin
David Crow18-Oct-10 9:55
David Crow18-Oct-10 9:55 
GeneralRe: Help me to implement it. Pin
Le@rner17-Oct-10 21:03
Le@rner17-Oct-10 21:03 
AnswerRe: Help me to implement it. Pin
Code-o-mat10-Oct-10 21:09
Code-o-mat10-Oct-10 21:09 
QuestionOpenGL integration with SDL, problem Pin
James_7228-Oct-10 22:38
James_7228-Oct-10 22:38 
AnswerRe: OpenGL integration with SDL, problem Pin
LunaticFringe9-Oct-10 1:07
LunaticFringe9-Oct-10 1:07 
I haven't looked at the code, but...

Try specifying a non-black glClearColor value and then call glClear (with the GL_COLOR_BUFFER_BIT flag set, along with, probably, GL_DEPTH_BUFFER_BIT) at the beginning of your rendering loop (comment out any other rendering calls, so you don't overwrite the intialized contents of the buffer). If the GL window changes color, then you probably have it initialized correctly. If that's the case, double and triple check your camera orientation and the location of any test object you're trying to render. Very often, if you have a black screen and can't see anything you're rendering, it's because the camera is pointing in the wrong direction.
L u n a t i c F r i n g e

GeneralRe: OpenGL integration with SDL, problem Pin
James_7229-Oct-10 3:42
James_7229-Oct-10 3:42 
AnswerRe: OpenGL integration with SDL, problem Pin
Cedric Moonen10-Oct-10 0:53
Cedric Moonen10-Oct-10 0:53 
Questionproblem in Access database use with CRecordset class. Pin
Le@rner8-Oct-10 19:58
Le@rner8-Oct-10 19:58 
AnswerRe: problem in Access database use with CRecordset class. Pin
Niklas L8-Oct-10 21:32
Niklas L8-Oct-10 21:32 
GeneralRe: problem in Access database use with CRecordset class. Pin
Le@rner8-Oct-10 21:43
Le@rner8-Oct-10 21:43 
AnswerRe: problem in Access database use with CRecordset class. Pin
David Crow9-Oct-10 15:58
David Crow9-Oct-10 15:58 
QuestionErrors not being reported on Windows Server 2003 box Pin
Interrobang8-Oct-10 10:06
Interrobang8-Oct-10 10:06 
AnswerRe: Errors not being reported on Windows Server 2003 box Pin
Rolf Kristensen8-Oct-10 12:01
Rolf Kristensen8-Oct-10 12:01 
QuestionWhen is an MFC application fully realized or how to reclaim focus/activation ? Pin
Maximilien8-Oct-10 4:26
Maximilien8-Oct-10 4:26 
AnswerRe: When is an MFC application fully realized or how to reclaim focus/activation ? Pin
Moak8-Oct-10 5:03
Moak8-Oct-10 5:03 
GeneralRe: When is an MFC application fully realized or how to reclaim focus/activation ? Pin
Maximilien8-Oct-10 8:08
Maximilien8-Oct-10 8:08 
GeneralRe: When is an MFC application fully realized or how to reclaim focus/activation ? Pin
Moak8-Oct-10 9:04
Moak8-Oct-10 9:04 
AnswerRe: When is an MFC application fully realized or how to reclaim focus/activation ? Pin
Sauro Viti8-Oct-10 5:04
professionalSauro Viti8-Oct-10 5:04 
AnswerRe: When is an MFC application fully realized or how to reclaim focus/activation ? Pin
Joe Woodbury10-Oct-10 9:08
professionalJoe Woodbury10-Oct-10 9:08 
QuestionScrollbar move with mouse ? Pin
mesajflaviu8-Oct-10 2:51
mesajflaviu8-Oct-10 2:51 
AnswerRe: Scrollbar move with mouse ? Pin
Sauro Viti8-Oct-10 3:51
professionalSauro Viti8-Oct-10 3:51 
GeneralRe: Scrollbar move with mouse ? Pin
mesajflaviu8-Oct-10 5:49
mesajflaviu8-Oct-10 5:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.