summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d8ab99c)
displaying the window.
This fixes a brief flash of random data on Blender startup on my
system (Ubuntu 11.10, ATI Mobility Radeon HD 5650, Gallium drivers.)
Code review link:
http://codereview.appspot.com/
5505071/
if (!s_firstContext) {
s_firstContext = m_context;
}
if (!s_firstContext) {
s_firstContext = m_context;
}
- glXMakeCurrent(m_display, m_window,m_context);
+ glXMakeCurrent(m_display, m_window,m_context);
+ glClearColor(0.447, 0.447, 0.447, 0);
+ glClear(GL_COLOR_BUFFER_BIT);
success = GHOST_kSuccess;
} else {
success = GHOST_kFailure;
success = GHOST_kSuccess;
} else {
success = GHOST_kFailure;