Ignore:
Timestamp:
Nov 27, 2010, 11:27:43 AM (15 years ago)
Author:
dmik
Message:

Get rid of dd_obj_base.h which duplicates obj_base.h creating unnecessary mess (symbol/define duplication) and conflicts when both the DDarw and other COM-related headers are included.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/ddraw3d.cpp

    r9560 r21479  
    1414#include <memory.h>
    1515
    16 #define INITGUID
    1716#define _OS2WIN_H
    1817#define FAR
     
    2019#include <odin.h>
    2120#include <winbase.h>
     21
     22#define CINTERFACE
    2223#include "ddraw2d.h"
    2324#include "clipper.h"
    2425#include "palette.h"
    2526#include "surface.h"
     27
    2628#include <misc.h>
    2729#include <winerror.h>
     
    3638  *ppvObj = NULL;
    3739
    38   if (!IsEqualGUID(riid, IID_IDirect3D))
     40  if (!IsEqualGUID(riid, &IID_IDirect3D))
    3941    return E_NOINTERFACE;
    4042
Note: See TracChangeset for help on using the changeset viewer.