comparison libvo/vo_gl2.c @ 4440:0824e6605974

removed obsoleted Terminate_Display_Process, using vo_x11_uninit
author alex
date Thu, 31 Jan 2002 11:46:46 +0000
parents df8e0f71cc3c
children 5fbfd8545c3b
comparison
equal deleted inserted replaced
4439:682af066d7bf 4440:0824e6605974
946 get_info(void) 946 get_info(void)
947 { 947 {
948 return &vo_info; 948 return &vo_info;
949 } 949 }
950 950
951 static void
952 Terminate_Display_Process(void)
953 {
954 getchar(); /* wait for enter to remove window */
955 XDestroyWindow(mDisplay, mywindow);
956 XCloseDisplay(mDisplay);
957 X_already_started = 0;
958 }
959
960 static int gl_handlekey(int key) 951 static int gl_handlekey(int key)
961 { 952 {
962 if(key=='a'||key=='A') 953 if(key=='a'||key=='A')
963 { 954 {
964 gl_set_antialias(!gl_antialias); 955 gl_set_antialias(!gl_antialias);
1099 1090
1100 static void 1091 static void
1101 uninit(void) 1092 uninit(void)
1102 { 1093 {
1103 saver_on(mDisplay); // screen saver back on 1094 saver_on(mDisplay); // screen saver back on
1104 XDestroyWindow( mDisplay,mywindow ); 1095
1096 vo_x11_uninit(mDisplay, mywindow);
1105 } 1097 }
1106 1098
1107 static uint32_t preinit(const char *arg) 1099 static uint32_t preinit(const char *arg)
1108 { 1100 {
1109 return 0; 1101 return 0;