X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbackends%2Fopengl%2Ftexture2d_backend.cpp;h=45ba78cc8f6f10c1e4e8d3b7d372b82b148843f0;hb=6080120777fdf7b6e1184288eff9d205ca7ebf5f;hp=2f396df4180978ec52821ec59247ed5a76293be4;hpb=cb4158902a680c58c5834da8577cd95ff753fd7c;p=libs%2Fgl.git diff --git a/source/backends/opengl/texture2d_backend.cpp b/source/backends/opengl/texture2d_backend.cpp index 2f396df4..45ba78cc 100644 --- a/source/backends/opengl/texture2d_backend.cpp +++ b/source/backends/opengl/texture2d_backend.cpp @@ -167,7 +167,7 @@ bool OpenGLTexture2D::AsyncLoader::process() } else if(phase==1) { - pixel_buffer.storage(n_bytes); + pixel_buffer.storage(n_bytes, STREAMING); mapped_address = reinterpret_cast(pixel_buffer.map()); } else if(phase==2)