Changeset 3527


Ignore:
Timestamp:
Apr 13, 2011 2:21:10 PM (9 years ago)
Author:
bennylp
Message:

Re #1213: fixed compilation error in sdl_dev.c if OpenGL is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r3525 r3527  
    176176static pj_status_t sdl_stream_stop(pjmedia_vid_dev_stream *strm); 
    177177static pj_status_t sdl_stream_destroy(pjmedia_vid_dev_stream *strm); 
     178 
     179#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL 
    178180static void draw_gl(struct sdl_stream *stream, void *tex_buf); 
     181#endif 
    179182 
    180183/* Operations */ 
     
    733736} 
    734737 
     738#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL 
    735739static void draw_gl(struct sdl_stream *stream, void *tex_buf) 
    736740{ 
     
    751755    } 
    752756} 
     757#endif 
    753758 
    754759#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
Note: See TracChangeset for help on using the changeset viewer.