DXGL r249 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r248‎ | r249 | r250 >
Date:21:39, 1 September 2012
Author:admin
Status:new
Tags:
Comment:
Initialize glDirect3DDevice old version pointers.
Modified paths:
  • /ddraw/glDirect3DDevice.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3DDevice.cpp
@@ -212,6 +212,8 @@
213213 glDirect3DDevice7::glDirect3DDevice7(glDirect3D7 *glD3D7, glDirectDrawSurface7 *glDDS7)
214214 {
215215 int zbuffer = 0;
 216+ glD3DDev3 = NULL;
 217+ glD3DDev2 = NULL;
216218 maxmaterials = 32;
217219 materials = (glDirect3DMaterial3**)malloc(32*sizeof(glDirect3DMaterial3*));
218220 materialcount = 1;