X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbuffer.cpp;fp=source%2Fbuffer.cpp;h=5a0f4762a22b287ed266c2acb15850889acfc67a;hb=b250a711295f5ba00114f11a5b1c855eebe08d26;hp=84c72716d0e5da16cebb42fcd8e191c093ae1bd3;hpb=223e33164d0706d357efc03da1dc31a653f6afcf;p=libs%2Fgl.git diff --git a/source/buffer.cpp b/source/buffer.cpp index 84c72716..5a0f4762 100644 --- a/source/buffer.cpp +++ b/source/buffer.cpp @@ -151,13 +151,13 @@ const BufferRange *&BufferRange::binding(BufferType type, unsigned index) if(type==UNIFORM_BUFFER) { if(index>=get_n_uniform_buffer_bindings()) - throw out_of_range("Buffer::binding"); + throw out_of_range("BufferRange::binding"); if(bound_uniform.size()<=index) bound_uniform.resize(index+1); return bound_uniform[index]; } else - throw invalid_argument("Buffer::binding"); + throw invalid_argument("BufferRange::binding"); } bool BufferRange::set_current(BufferType type, unsigned index, const BufferRange *buf)