get_pipe_type_mesadisplay

This commit is contained in:
David Rose 2009-02-01 20:10:47 +00:00
parent 5fdc9d7eac
commit a471d9f92b
2 changed files with 11 additions and 0 deletions

View File

@ -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();
}

View File

@ -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