Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1673)

Unified Diff: tests/common/win/testing_common.cc

Issue 339057: Fix for GL unit_tests.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/cross/gl/renderer_gl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/common/win/testing_common.cc
===================================================================
--- tests/common/win/testing_common.cc (revision 30366)
+++ tests/common/win/testing_common.cc (working copy)
@@ -67,8 +67,8 @@
using o3d::RendererCBLocal;
#endif
-const int kWindowWidth = 512;
-const int kWindowHeight = 512;
+const int kWindowWidth = 16;
+const int kWindowHeight = 16;
o3d::ServiceLocator* g_service_locator = NULL;
o3d::DisplayWindow* g_display_window = NULL;
@@ -109,7 +109,7 @@
wc.lpszClassName = L"MY_WINDOWS_CLASS";
wc.cbSize = sizeof(WNDCLASSEX);
- wc.style = CS_HREDRAW | CS_VREDRAW;
+ wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
wc.lpfnWndProc = ::WindowProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
@@ -130,8 +130,8 @@
wc.lpszClassName,
L"",
WS_OVERLAPPEDWINDOW,
- -1000,
- 0,
+ 10,
+ 10,
kWindowWidth,
kWindowHeight,
0,
« no previous file with comments | « core/cross/gl/renderer_gl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698