diff options
author | Brian Paul <[email protected]> | 2005-02-24 05:47:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-02-24 05:47:06 +0000 |
commit | 2c6f911e10761c0946261d494bf149b19072821d (patch) | |
tree | 5415fdbb47c7badc1f9321e59d1a6c69e3db081d /src/mesa/drivers/common | |
parent | 7b7d00ca62d18c71cd3a14a81f5dc12e73248757 (diff) |
More GL_EXT_framebuffer_object: rename some things, added device driver hooks.
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index 11b4e286b6f..7ab5f48cf4b 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -2,7 +2,7 @@ * Mesa 3-D graphics library * Version: 6.3 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -33,7 +33,12 @@ #include "teximage.h" #include "texobj.h" #include "texstore.h" +#if FEATURE_ARB_vertex_buffer_object #include "bufferobj.h" +#endif +#if FEATURE_EXT_framebuffer_object +#include "fbobject.h" +#endif #include "driverfuncs.h" #include "swrast/swrast.h" @@ -192,6 +197,11 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->UnmapBuffer = _mesa_buffer_unmap; #endif +#if FEATURE_EXT_framebuffer_object + driver->NewFramebuffer = _mesa_new_framebuffer; + driver->NewRenderbuffer = _mesa_new_renderbuffer; +#endif + /* T&L stuff */ driver->NeedValidate = GL_FALSE; driver->ValidateTnlModule = NULL; |