Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading CArchive in Serialize Pin
David Crow23-May-05 7:31
David Crow23-May-05 7:31 
GeneralRe: Reading CArchive in Serialize Pin
vasanth100423-May-05 7:36
vasanth100423-May-05 7:36 
GeneralRe: Reading CArchive in Serialize Pin
David Crow23-May-05 7:45
David Crow23-May-05 7:45 
GeneralRe: Reading CArchive in Serialize Pin
vasanth100423-May-05 7:48
vasanth100423-May-05 7:48 
GeneralRe: Reading CArchive in Serialize Pin
David Crow23-May-05 7:50
David Crow23-May-05 7:50 
GeneralRe: Reading CArchive in Serialize Pin
vasanth100423-May-05 8:02
vasanth100423-May-05 8:02 
GeneralRe: Reading CArchive in Serialize Pin
David Crow23-May-05 8:56
David Crow23-May-05 8:56 
GeneralOpenGL flickers despite double buffering Pin
User 58261923-May-05 6:58
User 58261923-May-05 6:58 
Hi,

i have a question regarding OpenGL and double buffering.
The drawing routine has the following commands:

wglMakeCurrent(m_hDC, m_hRC);
DrawScene();
SwapBuffers(m_hDC);
wglMakeCurrent(0, 0);

The problem is that SwapBuffer seems to clear the screen before actually copying the backbuffer in. This seems quite strange to me. The content to draw consists of approx. 50000 single points drawn using the GL_POINTS directive. It seems that the problem only occurs with a high number of points (or it is only visible there). Can anyone give me hints what could be wrong?

Of course double buffering is enabled in the Pixelformat:
...
pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;
...

Thanks in advance,
Ingo
GeneralRe: OpenGL flickers despite double buffering Pin
LunaticFringe23-May-05 7:35
LunaticFringe23-May-05 7:35 
GeneralRe: OpenGL flickers despite double buffering Pin
cmk24-May-05 5:05
cmk24-May-05 5:05 
GeneralDrawing lines Pin
merkit23-May-05 6:18
merkit23-May-05 6:18 
GeneralOnSizing not firing in dialog Pin
vineas23-May-05 5:19
vineas23-May-05 5:19 
GeneralRe: OnSizing not firing in dialog Pin
David Crow23-May-05 5:45
David Crow23-May-05 5:45 
GeneralRe: OnSizing not firing in dialog Pin
vineas23-May-05 10:53
vineas23-May-05 10:53 
GeneralRe: OnSizing not firing in dialog Pin
Shog923-May-05 12:46
sitebuilderShog923-May-05 12:46 
GeneralRe: OnSizing not firing in dialog Pin
vineas23-May-05 16:40
vineas23-May-05 16:40 
GeneralRe: OnSizing not firing in dialog Pin
vineas24-May-05 5:58
vineas24-May-05 5:58 
GeneralRe: OnSizing not firing in dialog Pin
Blake Miller23-May-05 6:51
Blake Miller23-May-05 6:51 
GeneralRe: OnSizing not firing in dialog Pin
vineas23-May-05 11:06
vineas23-May-05 11:06 
GeneralRe: OnSizing not firing in dialog Pin
Blake Miller25-May-05 4:06
Blake Miller25-May-05 4:06 
GeneralRe: OnSizing not firing in dialog Pin
vineas25-May-05 5:34
vineas25-May-05 5:34 
GeneralRe: OnSizing not firing in dialog Pin
Blake Miller25-May-05 10:25
Blake Miller25-May-05 10:25 
GeneralScreenSaver Notification Pin
Blake Miller23-May-05 5:16
Blake Miller23-May-05 5:16 
GeneralRe: ScreenSaver Notification Pin
David Crow23-May-05 5:51
David Crow23-May-05 5:51 
GeneralRe: ScreenSaver Notification Pin
Blake Miller23-May-05 6:50
Blake Miller23-May-05 6:50 

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.