Inertia's picture

[GL3.3] Blend Func Extended

Project:The Open Toolkit library
Version:1.1-2014-01-02
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» fixed

Fixed in gl4 branch, r2933.

the Fiddler's picture

#2

Version:1.x-dev» 1.1-2014-01-02
Status:fixed» closed

Closing issues fixed in OpenTK 1.1.

If this is still an issue please file a new bug report at https://github.com/opentk/opentk/issues