mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove Clone impl for WebGLMsg
This commit is contained in:
parent
1293692ef8
commit
e37856a855
3 changed files with 21 additions and 4 deletions
|
@ -24,7 +24,7 @@ pub use ::webgl_channel::WebGLPipeline;
|
|||
pub use ::webgl_channel::WebGLChan;
|
||||
|
||||
/// WebGL Message API
|
||||
#[derive(Clone, Deserialize, Serialize)]
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum WebGLMsg {
|
||||
/// Creates a new WebGLContext.
|
||||
CreateContext(WebGLVersion, Size2D<i32>, GLContextAttributes,
|
||||
|
@ -155,7 +155,7 @@ impl WebGLMsgSender {
|
|||
}
|
||||
|
||||
/// WebGL Commands for a specific WebGLContext
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub enum WebGLCommand {
|
||||
GetContextAttributes(WebGLSender<GLContextAttributes>),
|
||||
ActiveTexture(u32),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue