Skip to content

Conversation

@zhuowei
Copy link

@zhuowei zhuowei commented May 27, 2023

No description provided.

@CLAassistant
Copy link

CLAassistant commented May 27, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

#include "glwInitES20Direct.hpp"
#include "glwInitES30Direct.hpp"

#include <OpenGLES/ES3/gl.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need this include here?

It should be sufficient to have it in
framework/egl/egluStaticESLibrary.cpp and
framework/opengl/wrapper/glwInitES30Direct.cpp

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this I get:

VK-GL-CTS/framework/platform/ios/tcuIOSPlatform.mm:241:45: error: use of undeclared identifier 'GL_RENDERBUFFER'
        if (![getEAGLContext() renderbufferStorage:GL_RENDERBUFFER fromDrawable:(CAEAGLLayer *)m_layer])

Is there a better place I should put it? Maybe in the tcuIOSPlatform.hh next to the existing #import <OpenGLES/EAGL.h> include?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants