comparison libvo/vo_gl2.c @ 17006:852499addaa8

Enable border toggling for gl and gl2 under windows.
author reimar
date Thu, 17 Nov 2005 20:49:46 +0000
parents b36b5bb95a9b
children 724353364790
comparison
equal deleted inserted replaced
17005:3047b92e8402 17006:852499addaa8
1133 #endif 1133 #endif
1134 if (setGlWindow(&gl_vinfo, &gl_context, vo_window) == SET_WINDOW_REINIT) 1134 if (setGlWindow(&gl_vinfo, &gl_context, vo_window) == SET_WINDOW_REINIT)
1135 initGl(vo_dwidth, vo_dheight); 1135 initGl(vo_dwidth, vo_dheight);
1136 resize(&vo_dwidth, &vo_dheight); 1136 resize(&vo_dwidth, &vo_dheight);
1137 return VO_TRUE; 1137 return VO_TRUE;
1138 #ifdef GL_WIN32
1139 case VOCTRL_BORDER:
1140 vo_w32_border();
1141 return VO_TRUE;
1142 #endif
1138 case VOCTRL_GET_PANSCAN: 1143 case VOCTRL_GET_PANSCAN:
1139 return VO_TRUE; 1144 return VO_TRUE;
1140 case VOCTRL_SET_PANSCAN: 1145 case VOCTRL_SET_PANSCAN:
1141 resize (&vo_dwidth, &vo_dheight); 1146 resize (&vo_dwidth, &vo_dheight);
1142 return VO_TRUE; 1147 return VO_TRUE;