Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Issue 1750015: glGetProgramiv was returning incorrect values for GL_ACTIVE_UNIFORM_MAX_LENGT... (Closed)

Created:
10 years, 8 months ago by alokp
Modified:
9 years, 6 months ago
Reviewers:
greggman, apatrick
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

glGetProgramiv was returning incorrect values for GL_ACTIVE_UNIFORM_MAX_LENGTH and GL_ACTIVE_ATTRIBUTE_MAX_LENGTH. It was not adjusting for NULL terminator. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45732

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M gpu/command_buffer/service/program_manager.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/program_manager_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
alokp
10 years, 8 months ago (2010-04-26 21:56:52 UTC) #1
greggman
I think it would be less confusing to move the +1 down to getProgramiv Otherwise ...
10 years, 8 months ago (2010-04-26 22:42:02 UTC) #2
alokp
done.
10 years, 8 months ago (2010-04-27 16:38:25 UTC) #3
apatrick
10 years, 8 months ago (2010-04-27 16:54:45 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698