Ignore:
Timestamp:
Apr 28, 2012, 3:38:32 PM (8 years ago)
Author:
sam
Message:

gpu: temporarily enable alpha blending in the vertex buffer code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/video.cpp

    r1297 r1303  
    132132
    133133    g_d3ddevice = VideoData::d3d_dev;
    134 
    135     g_d3ddevice->SetRenderState(D3DRS_ALPHABLENDENABLE, 1);
    136     g_d3ddevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA);
    137     g_d3ddevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
    138134#else
    139135#   if defined USE_GLEW && !defined __APPLE__
     
    155151
    156152#   if defined HAVE_GL_2X && !defined __APPLE__
    157     glShadeModel(GL_SMOOTH);
    158153    glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
    159154#   endif
Note: See TracChangeset for help on using the changeset viewer.