Skip to content

Commit

Permalink
[refactoring]gfx egl.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluesky013 committed Jul 27, 2023
1 parent 8b80e72 commit 25c4fd3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1615,16 +1615,19 @@ cocos_source_files(

if(CC_USE_GLES2 OR CC_USE_GLES3)
cocos_source_files(
cocos/renderer/gfx-gles-common/GLESCommandPool.h
cocos/renderer/gfx-gles-common/loader/eglw.cpp
cocos/renderer/gfx-gles-common/loader/gles2w.cpp
cocos/renderer/gfx-gles-common/egl/Context.cpp
cocos/renderer/gfx-gles-common/egl/Context.h
cocos/renderer/gfx-gles-common/egl/Surface.cpp
cocos/renderer/gfx-gles-common/egl/Surface.h
cocos/renderer/gfx-gles-common/egl/Instance.cpp
cocos/renderer/gfx-gles-common/egl/Instance.h
)

cocos_source_files(
cocos/renderer/gfx-gles-common/GLESCommandPool.h
cocos/renderer/gfx-gles-common/loader/eglw.cpp
cocos/renderer/gfx-gles-common/loader/gles2w.cpp
)
if(CC_USE_GLES3)
cocos_source_files(
cocos/renderer/gfx-gles-common/loader/gles3w.cpp
Expand Down

0 comments on commit 25c4fd3

Please sign in to comment.