Changeset 4908


Ignore:
Timestamp:
Aug 26, 2014 11:01:57 AM (6 years ago)
Author:
nanang
Message:

Re #1757: Set OpenGL as default renderer on iOS (initialized before UIView renderer).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/videodev.c

    r4812 r4908  
    382382    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_qt_factory; 
    383383#endif 
     384#if PJMEDIA_VIDEO_DEV_HAS_OPENGL 
     385    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_opengl_factory; 
     386#endif 
    384387#if PJMEDIA_VIDEO_DEV_HAS_IOS 
    385388    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_ios_factory; 
    386 #endif 
    387 #if PJMEDIA_VIDEO_DEV_HAS_OPENGL 
    388     vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_opengl_factory; 
    389389#endif 
    390390#if PJMEDIA_VIDEO_DEV_HAS_DSHOW 
Note: See TracChangeset for help on using the changeset viewer.