jas511

[Solved] GLSL shader not working with glDrawPixels on Radeon HD3450

Discussion created by jas511 on Jun 10, 2011

EDIT: This has been solved using texture mapped quads instead of glDrawPixels

 

Hi, I have a Radeon HD3450 and I have a application in which I use glDrawPixels with a vertex shader. My code looks roughly like:

 

    glUseProgram(myshader);

    glDrawPixels(...);

 

The shader does not seem to be applied when using glDrawPixels. However, this does seem to work on some newer AMD cards as well as nvidia cards.

Does anyone know why this may be happening? And how I might work around this?

 

thanks,

Jeff

Outcomes