X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Ftexture_backend.h;h=ecb3056fd2ead2cd0f7bcf86fd568a7aa61b502a;hb=e70662d7812464159f2e47f4bebb69d88f89ae93;hp=815778203bcaba66f4e13de3f81a2b08aa8450a0;hpb=4965ad140daacd10e77b74ce9b49e98c4c4dae55;p=libs%2Fgl.git diff --git a/source/backends/opengl/texture_backend.h b/source/backends/opengl/texture_backend.h index 81577820..ecb3056f 100644 --- a/source/backends/opengl/texture_backend.h +++ b/source/backends/opengl/texture_backend.h @@ -12,14 +12,14 @@ class OpenGLTexture: public NonCopyable friend class OpenGLPipelineState; protected: - unsigned id; + unsigned id = 0; unsigned target; std::string debug_name; - static int swizzle_orders[]; static OpenGLTexture *scratch_binding; OpenGLTexture(unsigned); + OpenGLTexture(OpenGLTexture &&); ~OpenGLTexture(); void create();