
[GL3.3] Blend Func Extended
Posted Saturday, 15 May, 2010 - 12:45 by Inertia| Project: | The Open Toolkit library |
| Version: | 1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
http://www.opengl.org/registry/specs/ARB/blend_func_extended.txt
Add to Enum GetPName:
MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
Add all 4 tokens to BOTH Enums BlendingFactorSrc and BlendingFactorDest:
SRC1_COLOR 0x88F9
SRC1_ALPHA
ONE_MINUS_SRC1_COLOR 0x88FA
ONE_MINUS_SRC1_ALPHA 0x88FB
For convenience: All.Src1Alpha = ((int)0x8589),
Functions:
void BindFragDataLocationIndexed(uint program, uint colorNumber, uint index, const char * name);
int GetFragDataIndex(uint program, const char * name);


Comments
#1
Fixed in gl4 branch, r2933.