Changeset 2766


Ignore:
Timestamp:
Jun 22, 2013, 9:07:09 PM (8 years ago)
Author:
sam
Message:

gpu: glGenerateMipmap is not available on the PS3, use glGenerateMipmapOES.

Location:
trunk/src/gpu
Files:
1 added
1 edited

Legend:

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

    r2758 r2766  
    296296#if defined _XBOX || defined USE_D3D9
    297297    m_data->m_texture->GenerateMipSubLevels();
     298#elif defined __CELLOS_LV2__
     299    glBindTexture(GL_TEXTURE_2D, m_data->m_texture);
     300    glGenerateMipmapOES(GL_TEXTURE_2D);
    298301#else
    299302    glBindTexture(GL_TEXTURE_2D, m_data->m_texture);
Note: See TracChangeset for help on using the changeset viewer.