Skip to content

Commit 65e465b

Browse files
committed
Use default constructors/destructors for TextureData
1 parent 01d1ee4 commit 65e465b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/engine/renderer/Material.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,6 @@ struct TextureData {
186186

187187
return true;
188188
}
189-
190-
TextureData() {
191-
}
192-
193-
TextureData( const TextureData& other ) {
194-
memcpy( texBundles, other.texBundles, MAX_TEXTURE_BUNDLES * sizeof( textureBundle_t* ) );
195-
memcpy( texBundlesOverride, other.texBundlesOverride, MAX_TEXTURE_BUNDLES * sizeof( image_t* ) );
196-
textureMatrixBundle = other.textureMatrixBundle;
197-
}
198189
};
199190

200191
enum class MaterialDebugMode {

0 commit comments

Comments
 (0)