X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture.h;h=4fa20c76483490c724b4f8b6eb72d6d05cd25707;hb=fcde8390ad577fe434dcd4b29e0f410d29f867c9;hp=bca0d409b105d9177ea7a108efc498e25c180769;hpb=2e7f0e8b226fdeea3306e2e0eef22a8f200ae16b;p=libs%2Fgl.git diff --git a/source/core/texture.h b/source/core/texture.h index bca0d409..4fa20c76 100644 --- a/source/core/texture.h +++ b/source/core/texture.h @@ -80,6 +80,7 @@ protected: bool use_srgb_format; bool auto_gen_mipmap; Sampler default_sampler; + std::string debug_name; static int swizzle_orders[]; @@ -160,6 +161,8 @@ public: static void unbind_from(unsigned); virtual UInt64 get_data_size() const { return 0; } + + void set_debug_name(const std::string &); }; } // namespace GL