mirror of
https://github.com/aap/librw.git
synced 2025-12-19 17:09:51 +00:00
fix multisampling a bit
This commit is contained in:
@@ -1744,12 +1744,12 @@ deviceSystemGLFW(DeviceReq req, void *arg, int32 n)
|
||||
{
|
||||
GLint maxSamples;
|
||||
glGetIntegerv(GL_MAX_SAMPLES, &maxSamples);
|
||||
if (maxSamples == 0)
|
||||
return 1;
|
||||
if(maxSamples == 0)
|
||||
return 1;
|
||||
return maxSamples;
|
||||
}
|
||||
case DEVICEGETMULTISAMPLINGLEVELS:
|
||||
if (glGlobals.numSamples == 0)
|
||||
if(glGlobals.numSamples == 0)
|
||||
return 1;
|
||||
return glGlobals.numSamples;
|
||||
case DEVICESETMULTISAMPLINGLEVELS:
|
||||
|
||||
Reference in New Issue
Block a user