diff options
author | Ilia Mirkin <[email protected]> | 2016-02-16 01:18:30 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-02-18 12:35:28 -0500 |
commit | 12e3ad2ae98a560e2527f4f28423920a15570590 (patch) | |
tree | 032563053372842af0c8e5595a63b2aa28e9bda0 /src/mesa/main | |
parent | 65dfb3048e8291675ca33581aeff8921f7ea509d (diff) |
mesa: gl_NumSamples should always be at least one
From ARB_sample_shading:
"gl_NumSamples is the total number of samples in the framebuffer,
or one if rendering to a non-multisample framebuffer"
So make sure to always pass in at least 1.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Edward O`Callaghan <[email protected]>
Reviewed-by: Neil Roberts <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions