Enlightenment CVS committal Author : doursse Project : e17 Module : apps/expedite
Dir : e17/apps/expedite/src/bin Modified Files: engine_software_ddraw.cpp Log Message: remove debug printf, and formatting =================================================================== RCS file: /cvs/e/e17/apps/expedite/src/bin/engine_software_ddraw.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- engine_software_ddraw.cpp 30 Mar 2008 09:22:38 -0000 1.1 +++ engine_software_ddraw.cpp 30 Mar 2008 16:04:13 -0000 1.2 @@ -19,11 +19,11 @@ LPDIRECTDRAWCLIPPER *clipper, int *depth) { - DDSURFACEDESC surface_desc; - DDPIXELFORMAT pixel_format; - LPDIRECTDRAW o; - DDSURFACEDESC *sd; - HRESULT res; + DDSURFACEDESC surface_desc; + DDPIXELFORMAT pixel_format; + LPDIRECTDRAW o; + DDSURFACEDESC *sd; + HRESULT res; res = DirectDrawCreate (NULL, &o, NULL); if (FAILED(res)) @@ -308,9 +308,6 @@ rect.bottom = win_h; AdjustWindowRectEx (&rect, style, FALSE, exstyle); - fprintf (stderr, " * 1 %d %d\n", - (int)(rect.right - rect.left), (int)(rect.bottom - rect.top)); - window = CreateWindowEx(exstyle, "Evas_Software_DDraw_Test", "Evas_Software_DDraw_Test", @@ -320,23 +317,19 @@ NULL, NULL, hinstance, NULL); if (!window) return EXIT_FAILURE; - fprintf (stderr, " * 2\n"); - if (!_directdraw_init(window, win_w, win_h, &object, &surface_primary, &surface_back, &clipper, &depth)) - return 0; - - fprintf (stderr, " * 3\n"); + return EXIT_FAILURE; evas_output_method_set(evas, evas_render_method_lookup("software_ddraw")); einfo = (Evas_Engine_Info_Software_DDraw *)evas_engine_info_get(evas); if (!einfo) { - printf("Evas does not support the Software DirectDraw Engine\n"); + fprintf(stderr, "Evas does not support the Software DirectDraw Engine\n"); return 0; } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs