diff options
| author | David 'Digit' Turner <digit@google.com> | 2014-03-05 12:55:49 +0100 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2014-03-06 00:32:11 +0100 |
| commit | bfb9f632d4b0910cde452b116e7ce85c682f69ab (patch) | |
| tree | bbc1982b603e372b4cf95154abf0b080b225bdbf /emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp | |
| parent | c3a816300ab5808bac7d5540d13a5d206ae0f707 (diff) | |
| download | sdk-bfb9f632d4b0910cde452b116e7ce85c682f69ab.zip sdk-bfb9f632d4b0910cde452b116e7ce85c682f69ab.tar.gz sdk-bfb9f632d4b0910cde452b116e7ce85c682f69ab.tar.bz2 | |
emulator/opengl: Remove compiler warnings
This patch removes a few minor compiler warnings related
to unused local variables.
Change-Id: Icd4b3b478dce0c38cc1dd04419db7350dcbdb8f6
Diffstat (limited to 'emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp')
| -rw-r--r-- | emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp b/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp index 9c32ff8..bdda01a 100644 --- a/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp +++ b/emulator/opengl/host/libs/libOpenglRender/WindowSurface.cpp @@ -58,9 +58,6 @@ WindowSurface *WindowSurface::create(int p_config, int p_width, int p_height) } win->m_fbconf = fbconf; - FrameBuffer *fb = FrameBuffer::getFB(); - const FrameBufferCaps &caps = fb->getCaps(); - // // Create a pbuffer to be used as the egl surface // for that window. @@ -209,8 +206,6 @@ bool WindowSurface::resizePbuffer(unsigned int p_width, unsigned int p_height) m_eglSurface = NULL; } - const FrameBufferCaps &caps = fb->getCaps(); - // // Create pbuffer surface. // |
