glgsg: Minor code cleanup in FBO code

This commit is contained in:
rdb 2021-10-26 14:00:04 +02:00
parent 594a26662e
commit 9b55279fde
2 changed files with 18 additions and 12 deletions

View File

@ -11,14 +11,18 @@
* @date 2006-01-15
*/
/**
*
*/
INLINE int CLP(GraphicsBuffer)::
get_multisample_count()
{
return _requested_multisamples;
get_multisample_count() {
return _requested_multisamples;
}
/**
*
*/
INLINE int CLP(GraphicsBuffer)::
get_coverage_sample_count()
{
return _requested_coverage_samples;
get_coverage_sample_count() {
return _requested_coverage_samples;
}

View File

@ -23,11 +23,14 @@
* ARB_draw_buffers extensions. This design has significant advantages over
* the older wglGraphicsBuffer and glxGraphicsBuffer:
*
* * Can export depth and stencil. * Supports auxiliary bitplanes. *
* Supports non-power-of-two padding. * Supports tracking of host window
* size. * Supports cumulative render-to-texture. * Faster than pbuffers. *
* Can render onto a texture without clearing it first. * Supports
* multisample antialiased rendering.
* - Can export depth and stencil.
* - Supports auxiliary bitplanes.
* - Supports non-power-of-two padding.
* - Supports tracking of host window size.
* - Supports cumulative render-to-texture.
* - Faster than pbuffers.
* - Can render onto a texture without clearing it first.
* - Supports multisample antialiased rendering.
*
* Some of these deserve a little explanation. Auxiliary bitplanes are
* additional bitplanes above and beyond the normal depth,stencil,color. One
@ -45,7 +48,6 @@
* EXT_framebuffer_blit to allow for multisample antialiasing these offscreen
* render targets. If these extensions are unavailable the buffer will render
* as if multisamples is 0.
*
*/
class EXPCL_GL CLP(GraphicsBuffer) : public GraphicsBuffer {
public: