mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
get_pipe_type_mesadisplay
This commit is contained in:
parent
5fdc9d7eac
commit
a471d9f92b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user