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

Unified Diff: ui/gl/gl_gl_api_implementation.cc

Issue 264373004: Return has value, in function returning void. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_gl_api_implementation.cc
diff --git a/ui/gl/gl_gl_api_implementation.cc b/ui/gl/gl_gl_api_implementation.cc
index fd5309c69ae538b4ce72d8b909c0c55052c01de1..2973388a276703cacdef4c3a755f019231339037 100644
--- a/ui/gl/gl_gl_api_implementation.cc
+++ b/ui/gl/gl_gl_api_implementation.cc
@@ -131,7 +131,7 @@ static void GL_BINDING_CALL CustomTexImage2D(
GLenum gl_internal_format = GetTexInternalFormat(
internalformat, format, type);
GLenum gl_type = GetTexType(type);
- return g_driver_gl.orig_fn.glTexImage2DFn(
+ g_driver_gl.orig_fn.glTexImage2DFn(
target, level, gl_internal_format, width, height, border, format, gl_type,
pixels);
}
@@ -140,7 +140,7 @@ static void GL_BINDING_CALL CustomTexSubImage2D(
GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
GLsizei height, GLenum format, GLenum type, const void* pixels) {
GLenum gl_type = GetTexType(type);
- return g_driver_gl.orig_fn.glTexSubImage2DFn(
+ g_driver_gl.orig_fn.glTexSubImage2DFn(
target, level, xoffset, yoffset, width, height, format, gl_type, pixels);
}
@@ -148,14 +148,14 @@ static void GL_BINDING_CALL CustomTexStorage2DEXT(
GLenum target, GLsizei levels, GLenum internalformat, GLsizei width,
GLsizei height) {
GLenum gl_internal_format = GetInternalFormat(internalformat);
- return g_driver_gl.orig_fn.glTexStorage2DEXTFn(
+ g_driver_gl.orig_fn.glTexStorage2DEXTFn(
target, levels, gl_internal_format, width, height);
}
static void GL_BINDING_CALL CustomRenderbufferStorageEXT(
GLenum target, GLenum internalformat, GLsizei width, GLsizei height) {
GLenum gl_internal_format = GetInternalFormat(internalformat);
- return g_driver_gl.orig_fn.glRenderbufferStorageEXTFn(
+ g_driver_gl.orig_fn.glRenderbufferStorageEXTFn(
target, gl_internal_format, width, height);
}
@@ -167,7 +167,7 @@ static void GL_BINDING_CALL CustomRenderbufferStorageMultisampleEXT(
GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
GLsizei height) {
GLenum gl_internal_format = GetInternalFormat(internalformat);
- return g_driver_gl.orig_fn.glRenderbufferStorageMultisampleEXTFn(
+ g_driver_gl.orig_fn.glRenderbufferStorageMultisampleEXTFn(
target, samples, gl_internal_format, width, height);
}
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698