- remove useless assert
- fix typo in SetDIBitstoDevice call
svn path=/trunk/; revision=61546
DIB_RGB_COLORS,
(void**)&srb->swrast.Buffer,
NULL, 0);
- assert(srb->hbmp);
if(!srb->hbmp)
{
ERR("Failed to create the DIB section for the front buffer, %lu.\n", GetLastError());
!_tnl_CreateContext(&sw_ctx->mesa) ||
!_swsetup_CreateContext(&sw_ctx->mesa))
{
+ ERR("Failed initializing helpers.\n");
_mesa_free_context_data(&sw_ctx->mesa);
free(sw_ctx);
return NULL;
0,
0,
0,
- fb->bmi.bmiHeader.biWidth,
+ fb->bmi.bmiHeader.biHeight,
fb->backbuffer.Buffer,
&fb->bmi,
DIB_RGB_COLORS) != 0);