summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/BufferObjectManager.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-03-13 15:26:10 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-13 15:26:10 +0000
commitd4dabf872ac0a12e12aebae9032f7d62762c2aeb (patch)
treea4c803ecda0a5ddb4655ba135e175d1f57f3d17c /opengl/libagl/BufferObjectManager.h
parentffd353a73eb7794ef556c4e646f866b580a03abb (diff)
parentcdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba (diff)
downloadframeworks_native-d4dabf872ac0a12e12aebae9032f7d62762c2aeb.zip
frameworks_native-d4dabf872ac0a12e12aebae9032f7d62762c2aeb.tar.gz
frameworks_native-d4dabf872ac0a12e12aebae9032f7d62762c2aeb.tar.bz2
am cdbf28b3: Merge "native frameworks: 64-bit compile issues"
* commit 'cdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba': native frameworks: 64-bit compile issues
Diffstat (limited to 'opengl/libagl/BufferObjectManager.h')
-rw-r--r--opengl/libagl/BufferObjectManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libagl/BufferObjectManager.h b/opengl/libagl/BufferObjectManager.h
index 9e9340a..6487faa 100644
--- a/opengl/libagl/BufferObjectManager.h
+++ b/opengl/libagl/BufferObjectManager.h
@@ -69,10 +69,10 @@ private:
KeyedVector<GLuint, gl::buffer_t*> mBuffers;
};
-void EGLBufferObjectManager::incStrong(const void* id) const {
+void EGLBufferObjectManager::incStrong(const void* /*id*/) const {
android_atomic_inc(&mCount);
}
-void EGLBufferObjectManager::decStrong(const void* id) const {
+void EGLBufferObjectManager::decStrong(const void* /*id*/) const {
if (android_atomic_dec(&mCount) == 1) {
delete this;
}