Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TINYGL: Remove unimplemented OpenGL 1.2 declarations #5520

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ccawley2011
Copy link
Member

This makes it a bit easier to identify where fallbacks might be needed in equivalent OpenGL code, and makes it slighly clearer what TinyGL actually supports.

TGL_BGR and TGL_BGRA were being used by the HPL1 engine, but my understanding is that TinyGL support there is still incomplete so I just commented the relevant code out.

Copy link
Member

@aquadran aquadran left a comment

Choose a reason for hiding this comment

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

I prefer code commented not removed

@@ -45,10 +45,12 @@ TGLenum ColorFormatToTGL(eColorDataFormat format) {
return TGL_RGBA;
case eColorDataFormat_ALPHA:
return TGL_ALPHA;
#if 0
Copy link
Member

@aquadran aquadran Dec 12, 2023

Choose a reason for hiding this comment

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

I'm not sure about it, all texture modes inside implementations are supported

@aquadran
Copy link
Member

there are few cases in 1.1 which were declared and never implemented. to have header easier to maintain I prefer to keep as it is. it's up to developer to check implementation status for engine. I'm rather agains it doing any changes in header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants