Ignore:
Timestamp:
Apr 16, 2012, 8:25:05 PM (8 years ago)
Author:
sam
Message:

gpu: add an Unbind() method for textures for clean up. Unfortunately
the Scene code still breaks Direct3D rendering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/video.cpp

    r1208 r1233  
    1515#include <cmath>
    1616
    17 #if defined USE_D3D9
    18 #   include <d3d9.h>
    19 #elif defined _XBOX
     17#if defined _XBOX
    2018#   include <xtl.h>
    2119#   undef near /* Fuck Microsoft */
    2220#   undef far /* Fuck Microsoft again */
    2321#elif defined _WIN32
     22#   if defined USE_D3D9
     23#      include <d3d9.h>
     24#   endif
    2425#   define WIN32_LEAN_AND_MEAN
    2526#   include <windows.h>
Note: See TracChangeset for help on using the changeset viewer.