diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-04-24 12:10:30 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-04-24 13:48:43 +0300 |
commit | 9ff819553520198468bf67b4920b50dc5b047bb6 (patch) | |
tree | 24578bfe37d677da375f2ef912791c7b2c5caa41 /intern/cycles/device/device.cpp | |
parent | 7d859da513249cfea29db44758b1ec2571f8dee7 (diff) |
OpenGL: Remove remaining instances of GL_RGBA16F_ARB.
There is no need for it now that we use opengl 3.3. Use GL_RGBA16F instead.
Diffstat (limited to 'intern/cycles/device/device.cpp')
-rw-r--r-- | intern/cycles/device/device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp index aa2a10a3dd9..906c01c619d 100644 --- a/intern/cycles/device/device.cpp +++ b/intern/cycles/device/device.cpp @@ -248,7 +248,7 @@ void Device::draw_pixels( if(rgba.data_type == TYPE_HALF) { GLhalf *data_pointer = (GLhalf*)rgba.host_pointer; data_pointer += 4 * y * w; - glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA16F_ARB, w, h, 0, GL_RGBA, GL_HALF_FLOAT, data_pointer); + glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA16F, w, h, 0, GL_RGBA, GL_HALF_FLOAT, data_pointer); } else { uint8_t *data_pointer = (uint8_t*)rgba.host_pointer; |