[gens-sdl] GLBackend: Don't memset() d->tex; it's a C++ class now.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 00:50:16 +0000 (20:50 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 00:50:16 +0000 (20:50 -0400)
GLTex was converted into a standard class in commit 34663496a5210a70a279375407117aceeee19629,
but I forgot to remove this memset().

Commit 34663496a5210a70a279375407117aceeee19629:
[gens-sdl] GLTex.cpp: Converted GLTex into a class.

src/gens-sdl/GLBackend.cpp

index 57304cc..d7f62eb 100644 (file)
@@ -126,11 +126,7 @@ GLBackendPrivate::GLBackendPrivate(GLBackend *q)
        , prevStretchMode(VBackend::STRETCH_MAX)
        , prevAspectRatioConstraint(true)
        , osd(new OsdGL())
-{
-       // Clear GLTex.
-       // TODO: Make it a regular class?
-       memset(&tex, 0, sizeof(tex));
-}
+{ }
 
 GLBackendPrivate::~GLBackendPrivate()
 {