@@ -53,3 +53,13 @@ init_libmesadisplay() {
Mesainit_classes();
}
+
+////////////////////////////////////////////////////////////////////
+// Function: get_pipe_type_mesadisplay
+// Description: Returns the TypeHandle index of the recommended
+// graphics pipe type defined by this module.
+int
+get_pipe_type_mesadisplay() {
+ return OsMesaGraphicsPipe::get_class_type().get_index();
+}
@@ -23,5 +23,6 @@ ConfigureDecl(config_mesadisplay, EXPCL_PANDAMESA, EXPTP_PANDAMESA);
NotifyCategoryDecl(mesadisplay, EXPCL_PANDAMESA, EXPTP_PANDAMESA);
extern EXPCL_PANDAMESA void init_libmesadisplay();
+extern "C" EXPCL_PANDAMESA int get_pipe_type_mesadisplay();
#endif