diff options
author | 2025-02-03 21:30:01 +0000 | |
---|---|---|
committer | 2025-02-03 21:30:01 +0000 | |
commit | 4f8ce35334b11668e0d399c0c3f91b3c75c46183 (patch) | |
tree | cd8a6e6fb40cfd31b353bde27cfbf7d09ec54eaa /opengl | |
parent | 3741f955d57fee948afdbb11692dac69103516a3 (diff) |
opengl stubs: update for no implicit sp
Required to enable ANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION
Bug: 393013610
Test: boot
Change-Id: I790a22f3bfcbc988b0db93f4105254f1f61ab647
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp b/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp index 7c255ed106..5ba72affc0 100644 --- a/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp +++ b/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp @@ -113,7 +113,7 @@ not_valid_surface: if (producer == NULL) goto not_valid_surface; - window = new android::Surface(producer, true); + window = android::sp<android::Surface>::make(producer, true); if (window == NULL) goto not_valid_surface; |