summaryrefslogtreecommitdiff
path: root/rsScriptC_LibGL.cpp
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2014-08-12 13:51:10 -0700
committerStephen Hines <srhines@google.com>2014-08-20 18:14:27 -0700
commit44bef6fba6244292b751387f3d6c31cca96c28ad (patch)
treea9dd48535a1f3343315bc75f7751cf042c05dc67 /rsScriptC_LibGL.cpp
parent4bb773ef75eeff5960852b733bcca5834020ee9e (diff)
downloadrs-44bef6fba6244292b751387f3d6c31cca96c28ad.tar.gz
Replace NULL macros with nullptr literals.
Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
Diffstat (limited to 'rsScriptC_LibGL.cpp')
-rw-r--r--rsScriptC_LibGL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsScriptC_LibGL.cpp b/rsScriptC_LibGL.cpp
index dbf2336a..5c55c6b3 100644
--- a/rsScriptC_LibGL.cpp
+++ b/rsScriptC_LibGL.cpp
@@ -103,12 +103,12 @@ void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Allocation *a) {
}
void rsrClearFrameBufferObjectColorTarget(Context *rsc, uint32_t slot) {
- rsc->mFBOCache.bindColorTarget(rsc, NULL, slot);
+ rsc->mFBOCache.bindColorTarget(rsc, nullptr, slot);
rsc->mStateVertex.updateSize(rsc);
}
void rsrClearFrameBufferObjectDepthTarget(Context *rsc) {
- rsc->mFBOCache.bindDepthTarget(rsc, NULL);
+ rsc->mFBOCache.bindDepthTarget(rsc, nullptr);
rsc->mStateVertex.updateSize(rsc);
}