]> git.tdb.fi Git - libs/gl.git/commit
Check for maximum number of samples
authorMikko Rasa <tdb@tdb.fi>
Tue, 5 Dec 2017 11:51:35 +0000 (13:51 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 5 Dec 2017 11:54:51 +0000 (13:54 +0200)
commitc34da2dbd034cfe591e2020ef0b50265d0571fc5
tree71c5416db7eec8934a147d170305821f4c76e69e
parentff46db8939d1763eab5bbb4dca711d635fdb5f23
Check for maximum number of samples

This makes it more apparent what the error is if a too large sample count
is requested.  Otherwise it would result in an "incomplete attachment"
error from the framebuffer object.
source/renderbuffer.cpp
source/renderbuffer.h