Changeset 2775


Ignore:
Timestamp:
Jun 23, 2013, 4:41:57 PM (8 years ago)
Author:
sam
Message:

gpu: don't use PolygonMode on GL ES.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/renderer.cpp

    r2773 r2775  
    344344                                          (DWORD)(alpha * 255.999f));
    345345    }
    346 #elif defined HAVE_GL_2X
     346#elif defined GL_VERSION_1_1
    347347    switch (func)
    348348    {
     
    372372        glEnable(GL_ALPHA_TEST);
    373373#else
    374     /* XXX: alpha test not available in GL ES */
     374    /* XXX: alpha test not available in GL ES and deprecated anyway. */
    375375#endif
    376376
     
    672672        break;
    673673    }
    674 #else
     674#elif defined __CELLOS_LV2__ || defined GL_VERSION_1_1
    675675    switch (mode)
    676676    {
Note: See TracChangeset for help on using the changeset viewer.