Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused mock
  • Loading branch information
loic-sharma committed Dec 13, 2023
commit 782dc4d9f1253c685ca34c4fcbf677013345703d
6 changes: 0 additions & 6 deletions shell/platform/windows/compositor_opengl_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ const unsigned char* MockGetString(GLenum name) {
}
}

const unsigned char* MockGetStringi(GLenum name, GLuint index) {
return (unsigned char*)"";
}

void MockGetIntegerv(GLenum name, int* value) {
*value = 0;
}
Expand All @@ -45,8 +41,6 @@ void DoNothing() {}
const impeller::ProcTableGLES::Resolver kMockResolver = [](const char* name) {
if (strcmp(name, "glGetString") == 0) {
return reinterpret_cast<void*>(&MockGetString);
} else if (strcmp(name, "glGetStringi") == 0) {
return reinterpret_cast<void*>(&MockGetStringi);
} else if (strcmp(name, "glGetIntegerv") == 0) {
return reinterpret_cast<void*>(&MockGetIntegerv);
} else if (strcmp(name, "glGetError") == 0) {
Expand Down